diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2018-11-29 11:05:30 -0500 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2018-11-29 11:05:56 -0500 |
| commit | bbdc12891bdc3a7b43a44d40b8f3d0ac8f6bb2c0 (patch) | |
| tree | f28c07e618f8ce3b311625aac9e1e128f1636550 /ci/azure/linux_script | |
| parent | 53766e7a3a5c7141a64e21c30540f9ed571cdfdd (diff) | |
| download | zig-bbdc12891bdc3a7b43a44d40b8f3d0ac8f6bb2c0.tar.gz zig-bbdc12891bdc3a7b43a44d40b8f3d0ac8f6bb2c0.zip | |
ci: workaround azure quirk with set -x
Diffstat (limited to 'ci/azure/linux_script')
| -rwxr-xr-x | ci/azure/linux_script | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ci/azure/linux_script b/ci/azure/linux_script index 6538c2145a..0298644bf1 100755 --- a/ci/azure/linux_script +++ b/ci/azure/linux_script @@ -34,6 +34,9 @@ if [ "${BUILD_REASON}" != "PullRequest" ]; then SHASUM=$(sha256sum $ARTIFACTSDIR/$TARBALL | cut '-d ' -f1) BYTESIZE=$(wc -c < $ARTIFACTSDIR/$TARBALL) + # `set -x` causes these variables to be mangled. + # See https://developercommunity.visualstudio.com/content/problem/375679/pipeline-variable-incorrectly-inserts-single-quote.html + set +x echo "##vso[task.setvariable variable=tarball;isOutput=true]$TARBALL" echo "##vso[task.setvariable variable=shasum;isOutput=true]$SHASUM" echo "##vso[task.setvariable variable=bytesize;isOutput=true]$BYTESIZE" |
