Skip to content

Commit d4ad79f

Browse files
authored
ansible: mirror _resha.sh changes (nodejs#3837)
The extra output from the `aws` commands is causing issues with the `release.sh` script from nodejs/node (which expects the only output to be the path to the `SHASUMS256.txt` file).
1 parent f563e77 commit d4ad79f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • ansible/www-standalone/tools/promote

ansible/www-standalone/tools/promote/_resha.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,6 @@ find "${dstdir}/${version}" -type f -exec chmod 644 '{}' \;
5454
find "${dstdir}/${version}" -type d -exec chmod 755 '{}' \;
5555

5656
relativedir=${dstdir/$dist_rootdir/"$site/"}
57-
aws s3 cp ${dstdir}/index.json $staging_bucket/$relativedir/index.json --endpoint-url=$cloudflare_endpoint --profile $cloudflare_profile
58-
aws s3 cp ${dstdir}/index.tab $staging_bucket/$relativedir/index.tab --endpoint-url=$cloudflare_endpoint --profile $cloudflare_profile
59-
aws s3 cp ${dstdir}/${version}/SHASUMS256.txt $staging_bucket/$relativedir/${version}/SHASUM256.txt --endpoint-url=$cloudflare_endpoint --profile $cloudflare_profile
57+
aws s3 cp ${dstdir}/index.json $staging_bucket/$relativedir/index.json --endpoint-url=$cloudflare_endpoint --profile $cloudflare_profile > /dev/null
58+
aws s3 cp ${dstdir}/index.tab $staging_bucket/$relativedir/index.tab --endpoint-url=$cloudflare_endpoint --profile $cloudflare_profile > /dev/null
59+
aws s3 cp ${dstdir}/${version}/SHASUMS256.txt $staging_bucket/$relativedir/${version}/SHASUMS256.txt --endpoint-url=$cloudflare_endpoint --profile $cloudflare_profile > /dev/null

0 commit comments

Comments
 (0)