This file describes various maintenance tasks, relevant for project maintainers only.
It currently happens whenever necessary, there's no agreed cadence. Whenever we see there's an important bug fix or a feature to roll out, or an important dependency update, we release.
- Remove
-SNAPSHOT
for version starting from build.gradle.kts. By building the whole project with./gradlew build
, you will learn what other places need to be adjusted. There's one place that needs extra care: in PomBuilding.kt, there'sLATEST_RELASED_LIBRARY_VERSION
- set it to the version you're going to deploy in a minute. Once done, create a commit using this pattern for commit message:chore: prepare for releasing version <version>
. - Once CI is green for the newly merged commits, create and push an annotated tag:
COMMIT_TITLE=`git log -1 --pretty=%B` VERSION=${COMMIT_TITLE#"chore: prepare for releasing version "} git tag -a "v$VERSION" -m "chore: release version $VERSION" && git push origin "v$VERSION"
- On
main
branch, change version to prepare for the next development cycle, e.g. if it was1.2.3-SNAPSHOT
before and we released it as1.2.3
, change the version to1.2.3-SNAPSHOT
. - Ensure that the release job has succeeded.