Skip to content

Commit

Permalink
Update RELEASING.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gpolak committed Dec 19, 2023
1 parent 2ac4e63 commit 92aff53
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions RELEASING.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,26 @@
Releasing
=========

1. Change the version in `buildSrc/gradle.properties` to a non-SNAPSHOT version.
## Prepare for Release

1. Change the version in `buildSrc/gradle.properties` to a non-SNAPSHOT version. (i.e., remove the -SNAPSHOT suffix)
2. Update the `README.md` and README-zh.md with the new version.
3. Update the `CHANGELOG.md` for the impending release.
4. `git commit -am "Prepare for release X.Y.Z."` (where X.Y.Z is the new version)
5. `git tag -a X.Y.Z -m "Version X.Y.Z"` (where X.Y.Z is the new version)
6. `./gradlew clean publish --no-daemon --no-parallel && ./gradlew closeAndReleaseRepository`
7. Using github UI to create a release from a tag (https://github.com/uber/okbuck/releases/new?tag=vX.Y.Z)
8. Update the `buildSrc/gradle.properties` to the next SNAPSHOT version.
8. `git commit -am "Prepare next development version."`
9. `git push && git push --tags`
6. `git push && git push --tags`


## Push New Release
1. Using github UI to create a release from a tag (https://github.com/uber/okbuck/releases/new?tag=vX.Y.Z)
1. Click on Tags
2. Find your new tag and select "Create Release" from the context menu.
3. Auto-generate and edit release notes as necessary.
2. `./gradlew clean publish --no-daemon --no-parallel && ./gradlew closeAndReleaseRepository`


## Prepare for Next Release

1. Update the `buildSrc/gradle.properties` to the next SNAPSHOT version.
2. `git commit -am "Prepare next development version."`
3. `git push`

0 comments on commit 92aff53

Please sign in to comment.