- Update the
CHANGELOG.md
for the impending release. - Run
./release.sh <version>
. - Publish the release on the repo's releases tab.
Snapshot releases are automatically created whenever a commit to the main
branch is pushed.
For other branches, maintainers can manually trigger a snapshot release from
the publish-snapshot
workflow. The version of that snapshot corresponds to the branch name. For example, a branch
named feature/branch
will have a snapshot version of feature-branch-SNAPSHOT
.
Depending on the version in the gradle.properties
file it will be either a production or snapshot release.
./gradlew clean publish --no-daemon --no-parallel --no-build-cache
./gradlew publishToMavenLocal