Skip to content

Commit b297695

Browse files
committed
ci: workaround azure quirk for windows too
1 parent bbdc128 commit b297695

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ci/azure/windows_upload

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ if [ "${BUILD_REASON}" != "PullRequest" ]; then
2525

2626
SHASUM=$(sha256sum $TARBALL | cut '-d ' -f1)
2727
BYTESIZE=$(wc -c < $TARBALL)
28+
# `set -x` causes these variables to be mangled.
29+
# See https://developercommunity.visualstudio.com/content/problem/375679/pipeline-variable-incorrectly-inserts-single-quote.html
30+
set +x
2831
echo "##vso[task.setvariable variable=tarball;isOutput=true]$TARBALL"
2932
echo "##vso[task.setvariable variable=shasum;isOutput=true]$SHASUM"
3033
echo "##vso[task.setvariable variable=bytesize;isOutput=true]$BYTESIZE"

0 commit comments

Comments
 (0)