xref: /aosp_15_r20/external/kotlinpoet/RELEASING.md (revision 3c321d951dd070fb96f8ba59e952ffc3131379a0)
1Releasing
2=========
3
4 1. Change the version in `gradle.properties` to a non-SNAPSHOT version.
5 2. Update `docs/changelog.md` for the impending release.
6 3. `git commit -am "Prepare for release X.Y.Z."` (where X.Y.Z is the new version)
7 4. `git tag -a X.Y.Z -m "Version X.Y.Z"` (where X.Y.Z is the new version).
8 5. Update `gradle.properties` to the next SNAPSHOT version.
9 6. `git commit -am "Prepare next development version."`.
10 7. `git push && git push --tags`.
11
12This will trigger a GitHub Action workflow which will create a GitHub release and upload the
13release artifacts to [Maven Central][maven-central].
14
15 [maven-central]: https://repo.maven.apache.org/maven2/com/squareup/kotlinpoet/
16