aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/ci/build.sh
diff options
context:
space:
mode:
authorGravatar Laszlo Csomor <laszlocsomor@google.com>2016-11-30 12:17:55 +0000
committerGravatar Irina Iancu <elenairina@google.com>2016-11-30 12:21:48 +0000
commit6331a94bf74b936c7cbb2868267936f0981e10d9 (patch)
tree563189264a1196a7b24e1350f3a81d15f2958f3f /scripts/ci/build.sh
parent6f978506b7ba4894990e053880836d295e811b24 (diff)
Bazel release script: fix `gsutil -m`
commit f17fb3a816851b9f3a954c881e3fbc35bed5d6a6 added the `-m` in the wrong location, causing the gsutil command to fail, e.g. http://ci.bazel.io/view/Bazel%20bootstrap%20and%20maintenance/job/Bazel-Release/87/console -- MOS_MIGRATED_REVID=140589924
Diffstat (limited to 'scripts/ci/build.sh')
-rwxr-xr-xscripts/ci/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ci/build.sh b/scripts/ci/build.sh
index 3a5f01a844..252cf33b99 100755
--- a/scripts/ci/build.sh
+++ b/scripts/ci/build.sh
@@ -300,7 +300,7 @@ function release_to_gcs() {
create_index_html "${dir}/${release_name}/rc${rc}" \
>"${dir}/${release_name}/rc${rc}"/index.html
cd ${dir}
- "${gs}" cp -m -a public-read -r . "gs://${GCS_BUCKET}"
+ "${gs}" -m cp -a public-read -r . "gs://${GCS_BUCKET}"
cd "${prev_dir}"
rm -fr "${dir}"
trap - EXIT