bchapuis opened a new issue, #754: URL: https://github.com/apache/incubator-baremaps/issues/754
# Release instructions 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 <version>" - [ ] Create a new branch for the release (e.g. `release-<version>`) ```bash git checkout -b release-<version> git push --set-upstream origin release-<version> ``` - [ ] Set the release version and commit the changes: ```bash mvn versions:set -DnewVersion=<version> git commit -a -m "Release Baremaps <version>" ``` - [ ] Tag the last commit with the release candidate version: ```bash git tag v<version>-rc<number> ``` - [ ] Push the tag to the remote repository: ```bash git push origin v<version>-rc<number> ``` - [ ] Generate the release notes for this tag on GitHub. - [ ] Generate the artifacts: ```bash ./scripts/generate-artifacts.sh ``` - [ ] Publish the artifacts: ```bash svn co https://dist.apache.org/repos/dist/dev/incubator/baremaps/ baremaps-dev mkdir baremaps-dev/<version>-rc<number> cp ./baremaps-cli/target/baremaps-<version>-incubating-* baremaps-dev/<version>-rc<number>/. svn commit -m "Baremaps <version>-rc<number>" ``` - [ ] 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: ```bash git tag -a v[version] git push origin v[version] ``` - [ ] Move the artifacts into the release directory with svn: ```bash svn mv -m "Baremaps <version>" \ https://dist.apache.org/repos/dist/dev/incubator/baremaps/<version>-rc<number>/ \ https://dist.apache.org/repos/dist/release/incubator/baremaps/<version>/ ``` - [ ] Set the version of the next iteration and commit the changes: ```bash mvn versions:set -DnewVersion=[next_version]-SNAPSHOT git commit -a -m "Prepare for next development iteration" git push origin ``` - [ ] Rebase the release branch into the main branch. - [ ] Notify the community of the release by sending a message to the mailing list. - [ ] Clean up all the release candidate branches and tags. ## Verifying the release artifacts Verify the GPG signature of the release artifacts: ```bash gpg --verify baremaps-<version>-incubating-bin.tar.gz.asc gpg --verify baremaps-<version>-incubating-src.tar.gz.asc ``` Verify the SHA512 checksum of the release artifacts: ```bash shasum -a 512 -c baremaps-<version>-incubating-bin.tar.gz.sha512 shasum -a 512 -c baremaps-<version>-incubating-src.tar.gz.sha512 ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
