aboutsummaryrefslogtreecommitdiff
path: root/RELEASING.md
diff options
context:
space:
mode:
authorEric Anderson <ejona@google.com>2016-04-29 15:19:24 -0700
committerEric Anderson <ejona@google.com>2016-05-01 08:19:00 -0700
commit41a9c94045e381612bc08cdba3f0e40ddeeae8d2 (patch)
treef2c4c2bc50b4a65609992932180a0c90632c80a2 /RELEASING.md
parent80baa631a77dc977fe22d1165b6fc22dc742b5d8 (diff)
downloadgrpc-grpc-java-41a9c94045e381612bc08cdba3f0e40ddeeae8d2.tar.gz
Disable parallel with argument for greater ease
Diffstat (limited to 'RELEASING.md')
-rw-r--r--RELEASING.md10
1 files changed, 6 insertions, 4 deletions
diff --git a/RELEASING.md b/RELEASING.md
index 54c082095..6a3f25f83 100644
--- a/RELEASING.md
+++ b/RELEASING.md
@@ -261,9 +261,10 @@ the grpc-java source directory._**
As stated above, this only needs to be done once for one of the selected OS/architectures.
The following command will build the whole project and upload it to Maven
-Central. Make sure you have `org.gradle.parallel` disabled for upload.
+Central. Parallel building [is not safe during
+uploadArchives](https://issues.gradle.org/browse/GRADLE-3420).
```bash
-grpc-java$ ./gradlew clean build && ./gradlew uploadArchives
+grpc-java$ ./gradlew clean build && ./gradlew -Dorg.gradle.parallel=false uploadArchives
```
If the version has the `-SNAPSHOT` suffix, the artifacts will automatically
@@ -281,7 +282,8 @@ commands on that OS and specify the architecture by the flag `-PtargetArch=<arch
If you are doing a snapshot deployment:
```bash
-grpc-java$ ./gradlew clean grpc-compiler:build grpc-compiler:uploadArchives -PtargetArch=<arch>
+grpc-java$ ./gradlew clean grpc-compiler:build grpc-compiler:uploadArchives \
+ -PtargetArch=<arch> -Dorg.gradle.parallel=false
```
When deploying a Release, the first deployment will create
@@ -292,7 +294,7 @@ ensure that the artifacts are pushed to the same staging repository.
```bash
grpc-java$ ./gradlew clean grpc-compiler:build grpc-compiler:uploadArchives -PtargetArch=<arch> \
- -PrepositoryId=<repository-id>
+ -PrepositoryId=<repository-id> -Dorg.gradle.parallel=false
```
Releasing on Maven Central