diff --git a/.github/scripts/update-distro-download-page.sh b/.github/scripts/update-distro-download-page.sh index a7edadd71..9d3705033 100755 --- a/.github/scripts/update-distro-download-page.sh +++ b/.github/scripts/update-distro-download-page.sh @@ -1,3 +1,5 @@ +set -e + dist_path=$1 eclipse_version=$2 build_type=$3 @@ -21,7 +23,7 @@ cat ./$downloads_html aws s3 mv ./$downloads_html s3://dist.springsource.com/${build_type}/STS4/ --acl public-read --no-progress # Akamai tools-spring-io bucket -s3_url=s3://spring-tools-io/${dist_path} +s3_url=s3://tools-spring-io/${dist_path} downloads_html="sts4-nightly-${eclipse_version}.html" files=`aws s3 cp ${s3_url} . --recursive --exclude "*" --include "spring-tool-suite-4*.zip" --include "spring-tool-suite-4*.dmg" --include "spring-tool-suite-4*.self-extracting.jar" --include "spring-tool-suite-4*.tar.gz" --exclude "*/*" --dryrun` rm -f ./${downloads_html}