Use -c flag in all s3cmd occurrences on Win
parent
937c02f185
commit
a1d72fad81
|
@ -29,8 +29,8 @@ if [ "${BUILD_REASON}" != "PullRequest" ]; then
|
||||||
echo "\"shasum\": \"$SHASUM\"," >>$JSONFILE
|
echo "\"shasum\": \"$SHASUM\"," >>$JSONFILE
|
||||||
echo "\"size\": \"$BYTESIZE\"}" >>$JSONFILE
|
echo "\"size\": \"$BYTESIZE\"}" >>$JSONFILE
|
||||||
|
|
||||||
s3cmd put -P --add-header="Cache-Control: max-age=0, must-revalidate" "$JSONFILE" "s3://ziglang.org/builds/$JSONFILE"
|
s3cmd -c "$DOWNLOADSECUREFILE_SECUREFILEPATH" put -P --add-header="Cache-Control: max-age=0, must-revalidate" "$JSONFILE" "s3://ziglang.org/builds/$JSONFILE"
|
||||||
s3cmd put -P "$JSONFILE" "s3://ziglang.org/builds/x86_64-windows-$VERSION.json"
|
s3cmd -c "$DOWNLOADSECUREFILE_SECUREFILEPATH" put -P "$JSONFILE" "s3://ziglang.org/builds/x86_64-windows-$VERSION.json"
|
||||||
|
|
||||||
# `set -x` causes these variables to be mangled.
|
# `set -x` causes these variables to be mangled.
|
||||||
# See https://developercommunity.visualstudio.com/content/problem/375679/pipeline-variable-incorrectly-inserts-single-quote.html
|
# See https://developercommunity.visualstudio.com/content/problem/375679/pipeline-variable-incorrectly-inserts-single-quote.html
|
||||||
|
|
Loading…
Reference in New Issue