diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-03-20 23:19:18 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-03-20 23:19:18 -0400 |
| commit | bf4701562cff5f26cb119351a584fc59145a747a (patch) | |
| tree | 09834e9a8e8127fd61ee22c5f5f0a0592cbb7077 /ci/azure/linux_script | |
| parent | b7fb63d6966cc46da19eda32f99ede5177bbdf4c (diff) | |
| download | zig-bf4701562cff5f26cb119351a584fc59145a747a.tar.gz zig-bf4701562cff5f26cb119351a584fc59145a747a.zip | |
ci: add FreeBSD to download page
Diffstat (limited to 'ci/azure/linux_script')
| -rwxr-xr-x | ci/azure/linux_script | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ci/azure/linux_script b/ci/azure/linux_script index ab9dacd46a..effcbd2992 100755 --- a/ci/azure/linux_script +++ b/ci/azure/linux_script @@ -34,6 +34,16 @@ if [ "${BUILD_REASON}" != "PullRequest" ]; then SHASUM=$(sha256sum $ARTIFACTSDIR/$TARBALL | cut '-d ' -f1) BYTESIZE=$(wc -c < $ARTIFACTSDIR/$TARBALL) + + JSONFILE="linux-$GITBRANCH.json" + touch $JSONFILE + echo "{\"tarball\": \"$TARBALL\"," >>$JSONFILE + echo "\"shasum\": \"$SHASUM\"," >>$JSONFILE + echo "\"size\": \"$BYTESIZE\"}" >>$JSONFILE + + s3cmd put -P "$JSONFILE" "s3://ziglang.org/builds/$JSONFILE" + s3cmd put -P "$JSONFILE" "s3://ziglang.org/builds/linux-$VERSION.json" + # `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 |
