Skip to content

Commit e3a2e66

Browse files
Update release-s3.sh
1 parent 58bc816 commit e3a2e66

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

deployment/release-s3.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ make release
1212

1313
# Engagement Pro Production Testing App - ID: 1364963849844839205
1414
./deployment/build-example-html.sh "key_live_gAbR03mCEte9DLh6L9GFApebvyg4mMDw" "https://api2.branch.io" "https://cdn.branch.io/branch-latest.min.js"
15-
aws s3 cp example.html s3://branch-builds/example.html
16-
aws s3 cp example.html s3://branch-cdn/example.html
15+
aws s3 cp example.html s3://branch-builds-usw2/example.html
16+
aws s3 cp example.html s3://branch-cdn-usw2/example.html
1717

18-
aws s3 cp --content-type="text/javascript" --content-encoding="gzip" dist/build.js s3://branch-cdn/branch-latest.js --cache-control "max-age=300"
19-
aws s3 cp --content-type="text/javascript" --content-encoding="gzip" dist/build.min.js.gz s3://branch-cdn/branch-$VERSION.min.js --cache-control "max-age=300"
20-
aws s3 cp --content-type="text/javascript" --content-encoding="gzip" dist/build.min.js.gz s3://branch-cdn/branch-latest.min.js --cache-control "max-age=300"
18+
aws s3 cp --content-type="text/javascript" --content-encoding="gzip" dist/build.js s3://branch-cdn-usw2/branch-latest.js --cache-control "max-age=300"
19+
aws s3 cp --content-type="text/javascript" --content-encoding="gzip" dist/build.min.js.gz s3://branch-cdn-usw2/branch-$VERSION.min.js --cache-control "max-age=300"
20+
aws s3 cp --content-type="text/javascript" --content-encoding="gzip" dist/build.min.js.gz s3://branch-cdn-usw2/branch-latest.min.js --cache-control "max-age=300"
2121

2222
echo -en "Invalidating cloudfront distribution...\n"
2323
aws configure set preview.cloudfront true
@@ -29,4 +29,4 @@ echo
2929
read -p "Is https://cdn.branch.io/example.html using the right version number $VERSION?" -n 1 -r
3030
echo
3131
read -p "Is https://www.npmjs.com/package/branch-sdk using the right version number $VERSION?" -n 1 -r
32-
echo
32+
echo

0 commit comments

Comments
 (0)