- Create branch
release-X.Y.Z
. - Update the package version to the new version in
pom.xml
andREADME.md
files. - Update
CHANGELOG.md
for the impending release. git commit -am "release X.Y.Z."
(where X.Y.Z is the new version).- Push to Github, make PR, and when ok, merge.
- Make a release on Github, specify tag as
vX.Y.Z
to create a tag. Copy the Changelog entry to the release description. - Run
mvn -P castle-java-sdk,deploy clean deploy
.