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