Add release notes to
- website/history.html
Update the version number in
- RELEASING.md (this file)
- README.md
- README.txt
- build.xml
- website/index.html
- website/history.html
- git checkout master
- git pull
- ant clean
- ant maven2
- cd dist/maven2
- Sign the files:
$ gpg -ab xom-1.3.9.pom
$ gpg -ab xom-1.3.9.jar
$ gpg -ab xom-1.3.9-javadoc.jar
$ gpg -ab xom-1.3.9-sources.jar
-
$ jar -cvf bundle.jar xom-1.3.9.pom xom-1.3.9.pom.asc xom-1.3.9.jar xom-1.3.9.jar.asc xom-1.3.9-javadoc.jar xom-1.3.9-javadoc.jar.asc xom-1.3.9-sources.jar xom-1.3.9-sources.jar.asc
-
Login to oss.sonatype.org.
-
Select staging upload in the left hand column.
-
Upload Mode: Artifact Bundle
-
Select xom/dist/maven2/bundle.jar and press Upload Bundle. If bundle.jar doesn't work, try individual artifacts instead.
-
Select staging repositories in the left hand side.
-
Scroll to the bottom and find the bundle you just uploaded. Select it.
-
Close the repository. Wait.
-
Release the repository.
-
Tag the release on github.
-
Update README.md with the new version number.
-
sftp the files to IBiblio including the assorted jar and zip files
-
Upload the various binary archives to Github as release assets by editing the latest release on https://github.com/elharo/xom/releases/
-
ant website
-
cd dist/website
-
Use gcloud to push to xom.nu with the elharodotcom credentials:
~/xom/dist/website$ gcloud app deploy --no-promote --project=xom-website
-
Check that the staging site—URL found in the output of
gcloud app deploy
—looks OK. If it is, promote it from the cloud console using Versions > Migrate Traffic.