Release Baremaps v0.7.2
bchapuis opened this issue · 0 comments
bchapuis commented
In order to release a new version of Apache Baremaps, follow these steps:
- Notify the mailing list and ask everyone to pause commits on the main branch
- Create a new issue on GitHub with the title "Release Baremaps 0.7.2"
- Create a new branch for the release (e.g.
release-0.7.2
)
git checkout -b release-0.7.2
git push --set-upstream origin release-0.7.2
- Set the release version and commit the changes:
./mvnw versions:set -DnewVersion=0.7.2
git commit -a -m "Release Baremaps 0.7.2"
- Tag the last commit with the release candidate version:
git tag v0.7.2-rc3
- Push the tag to the remote repository:
git push origin v0.7.2-rc3
- Generate the release notes for this tag on GitHub with release ticked in order to generate a release notes.
- Generate the artifacts:
./scripts/generate-artifacts.sh
- Publish the artifacts:
svn co https://dist.apache.org/repos/dist/dev/incubator/baremaps/ baremaps-dev
mkdir baremaps-dev/0.7.2-rc3
cp ./baremaps-cli/target/apache-baremaps-0.7.2-incubating-* baremaps-dev/0.7.2-rc3/.
svn commit -m "Baremaps 0.7.2-rc3"
- Ask the community to vote for the release candidate.
- If the release candidate is not approved by the community, commit the necessary changes, clean the git history,
and go back to step 5. - If the release candidate is approved by the community, tag the release commit with the release version:
git tag -a v0.7.2
git push origin v0.7.2
- Move the artifacts into the release directory with svn:
svn mv -m "Baremaps 0.7.2" \
https://dist.apache.org/repos/dist/dev/incubator/baremaps/0.7.2-rc3/ \
https://dist.apache.org/repos/dist/release/incubator/baremaps/0.7.2/
- Set the version of the next iteration and commit the changes:
./mvnw versions:set -DnewVersion=<next_version>-SNAPSHOT
git commit -a -m "Prepare for next development iteration"
git push origin
- Notify the community of the release by sending a message to the mailing list.
- Rebase the release branch into the main branch.
- Clean up all the release candidate branches and tags.
Verifying the release artifacts
Verify the GPG signature of the release artifacts:
gpg --verify apache-baremaps-0.7.2-incubating-bin.tar.gz.asc
gpg --verify apache-baremaps-0.7.2-incubating-src.tar.gz.asc
Verify the SHA512 checksum of the release artifacts:
shasum -a 512 -c apache-baremaps-0.7.2-incubating-bin.tar.gz.sha512
shasum -a 512 -c apache-baremaps-0.7.2-incubating-src.tar.gz.sha512