Release procedure for Kotlin Formatter.
-
Create a new branch for the release:
git checkout -b release-x.y.z
-
Bump version number in
gradle.propertiesto next stable version. -
Update
CHANGELOG.md:- Change the
Unreleasedheader to the release version e.g.[x.y.z] - YYYY-MM-DD. - Add a new
Unreleasedsection to the top.## [Unreleased] ### New: - Nothing yet! ### Changed: - Nothing yet! ### Fixed: - Nothing yet!
- Change the
-
Update
README.mdif needed. -
Commit:
$ git commit -am "chore: prepare for release x.y.z." -
Push the branch and create a pull request.
- Once the PR is approved and merged, check out
mainand pull the latest changes. - Tag the release:
git tag -am "Version x.y.z" x.y.z - Push the tag
git push origin x.y.z
The tag will trigger a GitHub Action workflow which will upload the artifacts to Maven Central and create a GitHub release.
Releases of the IntelliJ IDEA plugin are subject to JetBrains' manual approval for every version. While the official documentation states that approval may take 2–3 business days, in practice, the plugin may appear on the JetBrains Marketplace within approximately 3 hours.