File tree Expand file tree Collapse file tree 1 file changed +19
-6
lines changed
Expand file tree Collapse file tree 1 file changed +19
-6
lines changed Original file line number Diff line number Diff line change 11Releasing
22=========
33
4- 1 . Change the version in ` buildSrc/gradle.properties ` to a non-SNAPSHOT version.
4+ ## Prepare for Release
5+
6+ 1 . Change the version in ` buildSrc/gradle.properties ` to a non-SNAPSHOT version. (i.e., remove the -SNAPSHOT suffix)
572 . Update the ` README.md ` and README-zh.md with the new version.
683 . Update the ` CHANGELOG.md ` for the impending release.
794 . ` git commit -am "Prepare for release X.Y.Z." ` (where X.Y.Z is the new version)
8105 . ` git tag -a X.Y.Z -m "Version X.Y.Z" ` (where X.Y.Z is the new version)
9- 6 . ` ./gradlew clean publish --no-daemon --no-parallel && ./gradlew closeAndReleaseRepository `
10- 7 . Using github UI to create a release from a tag (https://github.com/uber/okbuck/releases/new?tag=vX.Y.Z )
11- 8 . Update the ` buildSrc/gradle.properties ` to the next SNAPSHOT version.
12- 8 . ` git commit -am "Prepare next development version." `
13- 9 . ` git push && git push --tags `
11+ 6 . ` git push && git push --tags `
12+
13+
14+ ## Push New Release
15+ 1 . Using github UI to create a release from a tag (https://github.com/uber/okbuck/releases/new?tag=vX.Y.Z )
16+ 1. Click on Tags
17+ 2. Find your new tag and select "Create Release" from the context menu.
18+ 3. Auto-generate and edit release notes as necessary.
19+ 2 . ` ./gradlew clean publish --no-daemon --no-parallel && ./gradlew closeAndReleaseRepository `
20+
21+
22+ ## Prepare for Next Release
23+
24+ 1 . Update the ` buildSrc/gradle.properties ` to the next SNAPSHOT version.
25+ 2 . ` git commit -am "Prepare next development version." `
26+ 3 . ` git push `
You can’t perform that action at this time.
0 commit comments