General Actions:
| ... | ... | @@ -2,8 +2,13 @@ |
| 2 | 2 | {{toc/}} |
| 3 | 3 | {{/box}} |
| 4 | 4 | |
| 5 | -= |
|
| 5 | += Release Overview = | |
| 6 | 6 | |
| 7 | +(% class="centered" %) | |
| 8 | +[[image:releaseProcess.png||style='max-width: 1024px; width: 100%;' title='Release Process Overview']] | |
| 9 | + | |
| 10 | += Automated Release = | |
| 11 | + | |
| 7 | 7 | {{code}} |
| 8 | 8 | # Get on the maven repository machine |
| 9 | 9 | me@home:~$ ssh maven@maven.xwiki.org |
| ... | ... | @@ -70,7 +70,7 @@ |
| 70 | 70 | |
| 71 | 71 | == Prerequisites == |
| 72 | 72 | |
| 73 | -* XWiki releases use Maven3 and the Maven |
|
| 78 | +* XWiki releases use Maven 3.x and the Maven Release plugin | |
| 74 | 74 | * Make sure you use Java 6 |
| 75 | 75 | * The XWiki sources are split in several repositories, and each one is released separately |
| 76 | 76 | * You need to have a key setup for the ##maven## account on maven.xwiki.org (this is the machine hosting XWiki's remote repository) so that you can ssh to it without having to enter username or password (and without using an ssh agent!) |
| ... | ... | @@ -104,11 +104,6 @@ |
| 104 | 104 | The ##profiles## and ##activeProfiles## settings are the one described on the [[Building page>>Community.Building]]. |
| 105 | 105 | {{/info}} |
| 106 | 106 | |
| 107 | -== Release Overview == | |
| 108 | - | |
| 109 | -(% class="centered" %) | |
| 110 | -[[image:releaseProcess.png||style='max-width: 1024px; width: 100%;' title='Release Process Overview']] | |
| 111 | - | |
| 112 | 112 | == Release Steps == |
| 113 | 113 | |
| 114 | 114 | * Start by verifying that the [[Continuous Integration>>Community.ContinuousBuild]] build succeeds before starting any release. If not fix it first. |
| ... | ... | @@ -170,7 +170,7 @@ |
| 170 | 170 | * Enjoy some rest and pray that nobody discovers a blocking bug... :) |
| 171 | 171 | * Start improving the build so that next time all this is done in mere seconds and automatically... |
| 172 | 172 | |
| 173 | -= |
|
| 173 | += Publish to Maven Central = | |
| 174 | 174 | |
| 175 | 175 | XWiki Commons and XWiki Rendering need to be published to Maven Central. To do so we use [[Sonatype's sync>>https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide]]. The strategy is to upload to the XWiki Staging repo on Sonatype's Nexus, to check the staged repo and then to promote it. |
| 176 | 176 | |
| ... | ... | @@ -256,8 +256,10 @@ |
| 256 | 256 | -The XWiki dev team |
| 257 | 257 | {{/code}} |
| 258 | 258 | |
| 259 | -= |
|
| 259 | += Older commands to perform a release = | |
| 260 | 260 | |
| 261 | +{{warning}}These commands have now been superseded by the automated release script defined at the top of this document.{{/warning}} | |
| 262 | + | |
| 261 | 261 | == Updating Translations == |
| 262 | 262 | |
| 263 | 263 | These commands or something very much like them should work for updating translations. |