From b4d383a47876b794b3f0950151c7cdcd5eddfc7a Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Thu, 23 Jul 2020 10:55:52 -0700 Subject: [PATCH] ci: looks like s3cmd wants a new path for the config file Thanks Jakub Konka for exploring this. --- ci/azure/windows_upload | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ci/azure/windows_upload b/ci/azure/windows_upload index 7ed1b7d1f..3abfcbab8 100755 --- a/ci/azure/windows_upload +++ b/ci/azure/windows_upload @@ -17,7 +17,8 @@ if [ "${BUILD_REASON}" != "PullRequest" ]; then mv dist "$DIRNAME" 7z a "$TARBALL" "$DIRNAME" - mv "$DOWNLOADSECUREFILE_SECUREFILEPATH" "$HOME/.s3cfg" + cp "$DOWNLOADSECUREFILE_SECUREFILEPATH" "$HOME/.s3cfg" + cp "$DOWNLOADSECUREFILE_SECUREFILEPATH" "$HOME/AppData/Roaming/s3cmd.ini" s3cmd put -P --add-header="cache-control: public, max-age=31536000, immutable" "$TARBALL" s3://ziglang.org/builds/ SHASUM=$(sha256sum $TARBALL | cut '-d ' -f1)