authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2018-11-29 11:05:30-05:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2018-11-29 11:05:56-05:00
logbbdc12891bdc3a7b43a44d40b8f3d0ac8f6bb2c0
treef28c07e618f8ce3b311625aac9e1e128f1636550
parent53766e7a3a5c7141a64e21c30540f9ed571cdfdd
signature Commit is signed but in an unrecognized format.

ci: workaround azure quirk with set -x


2 files changed, 6 insertions(+), 0 deletions(-)

ci/azure/linux_script+3
......@@ -34,6 +34,9 @@ if [ "${BUILD_REASON}" != "PullRequest" ]; then
3434
3535 SHASUM=$(sha256sum $ARTIFACTSDIR/$TARBALL | cut '-d ' -f1)
3636 BYTESIZE=$(wc -c < $ARTIFACTSDIR/$TARBALL)
37 # `set -x` causes these variables to be mangled.
38 # See https://developercommunity.visualstudio.com/content/problem/375679/pipeline-variable-incorrectly-inserts-single-quote.html
39 set +x
3740 echo "##vso[task.setvariable variable=tarball;isOutput=true]$TARBALL"
3841 echo "##vso[task.setvariable variable=shasum;isOutput=true]$SHASUM"
3942 echo "##vso[task.setvariable variable=bytesize;isOutput=true]$BYTESIZE"
ci/azure/macos_script+3
......@@ -98,6 +98,9 @@ if [ "${BUILD_REASON}" != "PullRequest" ]; then
9898
9999 SHASUM=$(shasum -a 256 $TARBALL | cut '-d ' -f1)
100100 BYTESIZE=$(wc -c < $TARBALL)
101 # `set -x` causes these variables to be mangled.
102 # See https://developercommunity.visualstudio.com/content/problem/375679/pipeline-variable-incorrectly-inserts-single-quote.html
103 set +x
101104 echo "##vso[task.setvariable variable=tarball;isOutput=true]$TARBALL"
102105 echo "##vso[task.setvariable variable=shasum;isOutput=true]$SHASUM"
103106 echo "##vso[task.setvariable variable=bytesize;isOutput=true]$BYTESIZE"