- Checkout the main branch and make sure it is up to date:
git checkout main && git pull
- Create a new branch
- Update the CHANGELOG.md file with changes of this release.
- Change the version in
gradle.properties
to a non-SNAPSHOT version. - Semantic versioning: a.b.c
- a: major breaking changes
- b: new functionality, new features
- c: any other small changes
git commit -am "Prepare for release X.Y.Z."
(where X.Y.Z is the new version)- Submit a PR with the changes against the main branch
After merging the PR, tag the release:
git tag -a vX.Y.Z -m "Version X.Y.Z"
(where X.Y.Z is the new version)git push --tags
- Close and release the staging repository published at Sonatype.
After this is done, create a new branch to prepare for the next development version:
git checkout main && git pull && git checkout -b prepare-X.Y.Z-SNAPSHOT
(where X.Y.Z is the new development version)- Update the
gradle.properties
to the next SNAPSHOT version. git commit -am "Prepare next development version"
- Submit a PR with the changes against the main branch and merge it
CLI can be released separately from the Maven package.
- Update version in
maestro-cli/gradle.properties
- Merge the change
- Trigger Publish CLI Github action