aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/ci
diff options
context:
space:
mode:
authorGravatar Damien Martin-Guillerez <dmarting@google.com>2017-06-27 11:01:29 +0200
committerGravatar Marcel Hlopko <hlopko@google.com>2017-06-27 11:33:03 +0200
commit24795d4fd5d68040c6b9f830b6cf6f8fe7ba6789 (patch)
tree18eb46c5ff2962fe06a95055b0df6d9d092b8484 /scripts/ci
parentc616accc4f08a523be6af4905964ad2671f87af7 (diff)
Single quote the release message
Double quoting make bash interpret the backquote and bazel is not on the path of the resulting process, showing error on the console. To cherry-pick for #3086. Change-Id: I15a4cdbd349300c87bd90d56ecb8df63ecf62dfb PiperOrigin-RevId: 160250275
Diffstat (limited to 'scripts/ci')
-rwxr-xr-xscripts/ci/build.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/ci/build.sh b/scripts/ci/build.sh
index 09a5f8d5ee..1f1dadee0d 100755
--- a/scripts/ci/build.sh
+++ b/scripts/ci/build.sh
@@ -194,7 +194,7 @@ function release_to_github() {
local release_name=$(get_release_name)
local rc=$(get_release_candidate)
local release_tool="${GITHUB_RELEASE:-$(which github-release 2>/dev/null || true)}"
- local gpl_warning="
+ local gpl_warning='
_Notice_: Bazel installers contain binaries licensed under the GPLv2 with
Classpath exception. Those installers should always be redistributed along with
@@ -209,7 +209,7 @@ The binaries and source-code of the bundled OpenJDK can be
_Security_: All our binaries are signed with our
[public key](https://bazel.build/bazel-release.pub.gpg) 48457EE0.
-"
+'
if [ ! -x "${release_tool}" ]; then
echo "Please set GITHUB_RELEASE to the path to the github-release binary." >&2