Skip to content

Commit 92aff53

Browse files
committed
Update RELEASING.md
1 parent 2ac4e63 commit 92aff53

File tree

1 file changed

+19
-6
lines changed

1 file changed

+19
-6
lines changed

RELEASING.md

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,26 @@
11
Releasing
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)
57
2. Update the `README.md` and README-zh.md with the new version.
68
3. Update the `CHANGELOG.md` for the impending release.
79
4. `git commit -am "Prepare for release X.Y.Z."` (where X.Y.Z is the new version)
810
5. `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`

0 commit comments

Comments
 (0)