Release procedure for Kotlin Formatter
-
Bump version number in
gradle.properties
to next stable version (removing the-SNAPSHOT
suffix). -
Update CHANGELOG.md
- Change the
Unreleased
header to the release version e.g.[x.y.z] - YYYY-MM-DD
- Add a new
Unreleased
section to the top.
## [Unreleased] ### New: - Nothing yet! ### Changed: - Nothing yet! ### Fixed: - Nothing yet!
- Change the
-
Update README.md if needed
-
Commit
$ git commit -am "chore: prepare for release x.y.z."
-
Tag
$ git tag -am "Version x.y.z" x.y.z
-
Push
$ git push && git push --tags
The tag will trigger a GitHub Action workflow which will upload the artifacts to Maven Central and create a GitHub release
- Once publish is done, update version number
gradle.properties
to next snapshot version (x.y.z-SNAPSHOT) - Commit and push
$ git commit -am "chore: prepare next development version." && git push