ci: looks like s3cmd wants a new path for the config file

Thanks Jakub Konka for exploring this.
master
Andrew Kelley 2020-07-23 10:55:52 -07:00
parent 32a6759a7a
commit b4d383a478
1 changed files with 2 additions and 1 deletions

View File

@ -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)