Commit b29769532b

Andrew Kelley <andrew@ziglang.org>
2018-11-29 20:54:23
ci: workaround azure quirk for windows too
1 parent bbdc128
Changed files (1)
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"