aboutsummaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2018-11-29 14:54:23 -0500
committerAndrew Kelley <andrew@ziglang.org>2018-11-29 14:54:23 -0500
commitb29769532be198bbaeca20efae1016b23ba97e4a (patch)
tree91af7975c55a93e4630692289aea4ee09f5c4789 /ci
parentbbdc12891bdc3a7b43a44d40b8f3d0ac8f6bb2c0 (diff)
downloadzig-b29769532be198bbaeca20efae1016b23ba97e4a.tar.gz
zig-b29769532be198bbaeca20efae1016b23ba97e4a.zip
ci: workaround azure quirk for windows too
Diffstat (limited to 'ci')
-rwxr-xr-xci/azure/windows_upload3
1 files changed, 3 insertions, 0 deletions
diff --git a/ci/azure/windows_upload b/ci/azure/windows_upload
index 8d30980fea..7d23ac7aad 100755
--- a/ci/azure/windows_upload
+++ b/ci/azure/windows_upload
@@ -25,6 +25,9 @@ if [ "${BUILD_REASON}" != "PullRequest" ]; then
SHASUM=$(sha256sum $TARBALL | cut '-d ' -f1)
BYTESIZE=$(wc -c < $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"