In order to release the SDK on Maven Central, do the following.
- Change all the SDK artifacts version to
X.Y.Zwhere it previously wasX.Y.Z-SNAPSHOT: from the root of the repository invokewheremvn versions:set -DnewVersion=$VERSION$VERSIONis in the following format:X.Y.Z. This should set the desired version in the various pom.xml files, including the pom.xml in concordium-sdk and the pom.xml in concordium-android-sdk/ - Update the Changelog
- Commit the version and changelog update
- Tag the commit in the following format:
v.X.Y.Z - Manually trigger the
Releaseworkflow for the tag. Ask for approval for the last part of the workflow - Merge (squash) the release branch into
main - Wait for the version to appear under https://repo1.maven.org/maven2/com/concordium/sdk/
- Manually add Changelog entries of this version to the GitHub release,
which was automatically created by the
Releaseworkflow
The released artifacts must become available here:
The Relase workflow also creates the branch javadoc if it does not already exist.
This branch contains the generated javadoc which is visible
at: https://concordium.github.io/concordium-java-sdk/javadoc/concordium-sdk/apidocs/