Skip to content

Commit

Permalink
Fix syntax error in Bazel release scripts
Browse files Browse the repository at this point in the history
Introduced by 1f52e9a.

PiperOrigin-RevId: 376710072
  • Loading branch information
fweikert authored and Copybara-Service committed May 31, 2021
1 parent e7d3480 commit 2f72244
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ci/build.sh
Expand Up @@ -151,7 +151,7 @@ function release_to_github() {
local github_token="$(gsutil cat gs://bazel-trusted-encrypted-secrets/github-trusted-token.enc | \
gcloud kms decrypt --project bazel-public --location global --keyring buildkite --key github-trusted-token --ciphertext-file - --plaintext-file -)"

local cmd = "GITHUB_TOKEN=\"${github_token}\" github-release \"bazelbuild/bazel\" \"${release_name}\" \"\" \"$(get_release_page)\" \"${artifact_dir}/*\""
local cmd="GITHUB_TOKEN=\"${github_token}\" github-release \"bazelbuild/bazel\" \"${release_name}\" \"\" \"$(get_release_page)\" \"${artifact_dir}/*\""

if [ "$(is_rolling_release)" -eq 1 ]; then
eval "${cmd} -prerelease"
Expand Down

0 comments on commit 2f72244

Please sign in to comment.