-
Create a release branch (skip if doing a patch release)
git checkout main git pull git checkout -b release-1.8.x
-
Set the version (without -SNAPSHOT)
Since this project has 4 modules and a parent pom.xml, the easiest way is using the mvn versions command:
```sh
mvn versions:set -DnewVersion=1.8.0
mvn versions:commit
```
Check if you want to update the versions of any of the dependencies
- In the top-level pom.xml:
- set volt-procedure-api.version property to latest published release, e.g. 15.0.0
- set voltdbclient.version to the latest published release, e.g. 15.0.0
-
Manually build & test (set path to your VoltDB license)
export VOLTDB_LICENSE=~/license.xml mvn clean install
-
Commit this change and push to the branch.
git add pom.xml */pom.xml git commit -m "Setting version to 1.8.0" git push -u origin release-1.8.x
-
Create the release tag
git tag -a v1.8.0 -m "Tagging v1.8.0 release" git push origin v1.8.0 -
Run the Release job in Jenkins
- TAG: v1.5.0
-
Login to Sonatype, verify the artifact is Validated, then click Publish
To set things up for the next releases:
-
In the main branch, set the version to the next planned release, which may be the next major or minor version.
mvn versions:set -DnewVersion=1.9.0-SNAPSHOT mvn versions:commit