Skip to content

Commit 4f22b96

Browse files
Update release-process docs with things that came up in 2.0.0
1 parent e2f4b03 commit 4f22b96

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/site/markdown/release-process.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,18 +174,19 @@ The command to export a public key is as follows:
174174

175175
If you have multiple keys, you can define a ~/.gnupg/gpg.conf file for a default. Note that while 'gpg --list-keys' will show your public keys, using maven-release-plugin with the command 'release:perform' below requires 'gpg --list-secret-keys' to have a valid entry that matches your public key, in order to create 'asc' files that are used to verify the release artifcats. 'release:prepare' creates the sha512 checksum files.
176176

177-
The created artifacts i.e. zip files can be checked with, for example, sha512sum 'axis2-2.0.0-bin.zip.asc' which should match the generated sha512 files. In that example, use 'gpg --verify axis2-2.0.0-bin.zip.asc axis2-2.0.0-bin.zip' to verify the artifacts were signed correctly.
178-
179177
1. Start the release process using the following command - use 'mvn release:rollback' to undo and be aware that in the main pom.xml there is an apache parent that defines some plugin versions<a href="https://maven.apache.org/pom/asf/"> documented here. </a>
180178

181179
mvn release:prepare
182180

183181
When asked for a tag name, accept the default value (in the following format: `vX.Y.Z`).
184182

185-
2. Perform the release using the following command:
183+
2. Perform the release using the following command - though be aware you cannot rollback as shown above after that. That may need to happen if there are site problems further below. To start over, use 'git reset --hard last-hash-before-release-started' , then 'git push --delete origin vX.Y.Z':
186184

187185
mvn release:perform
188186

187+
The created artifacts i.e. zip files can be checked with, for example, 'sha512sum axis2-2.0.0-bin.zip' which should match the generated axis2-2.0.0-bin.zip.sha512 file. In that example, use 'gpg --verify axis2-2.0.0-bin.zip.asc axis2-2.0.0-bin.zip' to verify the artifacts were signed correctly.
188+
189+
189190
3. Login to Nexus and close the staging repository. For more details about this step, see
190191
[here](https://maven.apache.org/developers/release/maven-project-release-procedure.html) and [here](https://infra.apache.org/publishing-maven-artifacts.html#promote).
191192

@@ -197,7 +198,7 @@ The created artifacts i.e. zip files can be checked with, for example, sha512sum
197198
cd axis-site
198199
cp -r axis2/java/core/ axis2/java/core-staging
199200
git add axis2/java/core-staging
200-
git commit -am "core-staging"
201+
git commit -am "create core-staging dir as a prerequisite for the publish-scm plugin"
201202
git push
202203

203204
6. Change to the `target/checkout` directory and prepare the site using the following commands:
@@ -207,6 +208,7 @@ The created artifacts i.e. zip files can be checked with, for example, sha512sum
207208

208209
Now go to the `target/scmpublish-checkout` directory (relative to `target/checkout`) and check that there
209210
are no unexpected changes to the site. Then commit the changes.
211+
Update: This plugin has a problem with specifying the core-staging with the git URL. See https://issues.apache.org/jira/browse/MSITE-1033 . For now, copy the output of the scmpublish-checkout dir listed above to the core-staging dir created earlier in this doc.
210212

211213
The root dir of axis-site has a .asf.yaml file, referenced here at target/scmpublish-checkout/.asf.yaml, that is <a href="https://github.com/apache/infrastructure-asfyaml/blob/main/README.md"> documented here. </a>
212214

0 commit comments

Comments
 (0)