File tree Expand file tree Collapse file tree 3 files changed +11
-11
lines changed
Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -18,15 +18,15 @@ NC='\033[0m'
1818 make release
1919
2020 echo -en " ${GREEN} Pushing to builds ...${NC} \n"
21- aws s3 cp --content-type=" text/javascript" --content-encoding=" gzip" dist/build.min.js.gz s3://branch-builds/web-sdk/branch-latest.min.js
22- aws s3 cp --content-type=" text/javascript" dist/build.js s3://branch-builds/web-sdk/branch.js
21+ aws s3 cp --content-type=" text/javascript" --content-encoding=" gzip" dist/build.min.js.gz s3://branch-builds-usw2 /web-sdk/branch-latest.min.js
22+ aws s3 cp --content-type=" text/javascript" dist/build.js s3://branch-builds-usw2 /web-sdk/branch.js
2323
2424 # External services app - ID: 436637608899006753
2525 ./deployment/build-example-html.sh " key_live_plqOidX7fW71Gzt0LdCThkemDEjCbTgx" " https://api.stage.branch.io" " https://cdn.branch.io/branch-staging-latest.min.js"
26- aws s3 cp example.html s3://branch-cdn/example-staging.html
26+ aws s3 cp example.html s3://branch-cdn-usw2 /example-staging.html
2727
2828 echo -en " ${GREEN} Pushing to CDN ...${NC} \n"
29- aws s3 cp --content-type=" text/javascript" --content-encoding=" gzip" dist/build.min.js.gz s3://branch-cdn/branch-staging-latest.min.js --cache-control " max-age=300"
29+ aws s3 cp --content-type=" text/javascript" --content-encoding=" gzip" dist/build.min.js.gz s3://branch-cdn-usw2 /branch-staging-latest.min.js --cache-control " max-age=300"
3030
3131 echo -en " Invalidating cloudfront distribution for staging ...\n"
3232 aws configure set preview.cloudfront true
Original file line number Diff line number Diff 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
2222echo -en " Invalidating cloudfront distribution...\n"
2323aws configure set preview.cloudfront true
2929read -p " Is https://cdn.branch.io/example.html using the right version number $VERSION ?" -n 1 -r
3030echo
3131read -p " Is https://www.npmjs.com/package/branch-sdk using the right version number $VERSION ?" -n 1 -r
32- echo
32+ echo
Original file line number Diff line number Diff line change @@ -461,7 +461,7 @@ <h4>Response</h4>
461461 "margin" : 5 ,
462462 "width" : 1000 ,
463463 "image_format" : "png" ,
464- "center_logo_url" : "https://branch-assets.s3.us-west-1 .amazonaws.com/branch-badge-dark.svg" ,
464+ "center_logo_url" : "https://branch-assets-usw2 .s3.us-west-2 .amazonaws.com/branch-badge-dark.svg" ,
465465 } ;
466466 const req = {
467467 ...linkData ,
You can’t perform that action at this time.
0 commit comments