aboutsummaryrefslogtreecommitdiff
path: root/RELEASING.md
diff options
context:
space:
mode:
authorEric Anderson <ejona@google.com>2016-06-16 10:12:41 -0700
committerEric Anderson <ejona@google.com>2016-07-07 16:11:36 -0700
commit554287a0cd934e12879c9b4a9ab5ebf6153157a9 (patch)
treef9e7053cde37d481cb481d06dc86a640a3e0076b /RELEASING.md
parent16b096b57186d52b8b73e1e83487e1f0470f637c (diff)
downloadgrpc-grpc-java-554287a0cd934e12879c9b4a9ab5ebf6153157a9.tar.gz
docs: Add missing files to sed in RELEASING
Diffstat (limited to 'RELEASING.md')
-rw-r--r--RELEASING.md18
1 files changed, 9 insertions, 9 deletions
diff --git a/RELEASING.md b/RELEASING.md
index 6a3f25f83..3393f4523 100644
--- a/RELEASING.md
+++ b/RELEASING.md
@@ -69,8 +69,7 @@ would be used to create all `v0.7` tags (e.g. `v0.7.0`, `v0.7.1`).
$ git checkout -b v$MAJOR.$MINOR.x master
$ git push upstream v$MAJOR.$MINOR.x
```
-2. For `master`, change `build.gradle` and
- `android-interop-testing/app/build.gradle` to the next minor snapshot (e.g.
+2. For `master`, change root build files to the next minor snapshot (e.g.
``0.8.0-SNAPSHOT``).
```bash
@@ -88,25 +87,26 @@ would be used to create all `v0.7` tags (e.g. `v0.7.0`, `v0.7.1`).
$ git merge --ff-only bump-version
$ git push upstream master
```
-4. For vMajor.Minor.x branch, change `build.gradle` and
- `android-interop-testing/app/build.gradle` to remove "-SNAPSHOT" for the next
- release version (e.g. `0.7.0`). Commit the result and make a tag:
+4. For vMajor.Minor.x branch, change root build files to remove "-SNAPSHOT" for
+ the next release version (e.g. `0.7.0`). Commit the result and make a tag:
```bash
$ git checkout -b release v$MAJOR.$MINOR.x
# Change version to remove -SNAPSHOT
$ sed -i 's/-SNAPSHOT\(.*CURRENT_GRPC_VERSION\)/\1/' \
- build.gradle android-interop-testing/app/build.gradle
+ build.gradle android-interop-testing/app/build.gradle \
+ examples/android/app/build.gradle
$ git commit -a -m "Bump version to $MAJOR.$MINOR.$PATCH"
$ git tag -a v$MAJOR.$MINOR.$PATCH -m "Version $MAJOR.$MINOR.$PATCH"
```
-5. Change `build.gradle` and `android-interop-testing/app/build.gradle` to the
- next snapshot version (e.g. `0.7.1-SNAPSHOT`). Commit the result:
+5. Change root build files to the next snapshot version (e.g. `0.7.1-SNAPSHOT`).
+ Commit the result:
```bash
# Change version to next patch and add -SNAPSHOT
$ sed -i 's/[0-9]\+\.[0-9]\+\.[0-9]\+\(.*CURRENT_GRPC_VERSION\)/'$MAJOR.$MINOR.$((PATCH+1))-SNAPSHOT'\1/' \
- build.gradle android-interop-testing/app/build.gradle
+ build.gradle android-interop-testing/app/build.gradle \
+ examples/android/app/build.gradle
$ git commit -a -m "Bump version to $MAJOR.$MINOR.$((PATCH+1))-SNAPSHOT"
```
6. Go through PR review and push the release tag and updated release branch to