Skip to content

Commit

Permalink
Updated from v3 to v2 folder
Browse files Browse the repository at this point in the history
  • Loading branch information
arnab-p committed Aug 26, 2021
1 parent c7252a0 commit 9e7e107
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions buildspec.prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ phases:
- npm run prodTest && npm test
- npm run buildProdBrowser
- sed 's|//# sourceMappingURL=rudder-analytics.min.js.map||' dist/rudder-analytics.min.js > dist/prod.js
- mv dist/prod.js dist/rudder-analytics.min.js
- aws s3 cp dist/rudder-analytics.min.js s3://$S3_BUCKET_NAME/v3/rudder-analytics.min.js --cache-control max-age=3600 --acl public-read
- aws cloudfront create-invalidation --distribution-id $CLOUDFRONT_DISTRIBUTION_ID --paths "/v3/rudder-analytics.min.js"
- mv dist/prod.js dist/rudder-analytics-v3.min.js
- aws s3 cp dist/rudder-analytics-v3.min.js s3://$S3_BUCKET_NAME/v2/rudder-analytics-v3.min.js --cache-control max-age=3600 --acl public-read
- aws cloudfront create-invalidation --distribution-id $CLOUDFRONT_DISTRIBUTION_ID --paths "/v2/rudder-analytics-v3.min.js"
artifacts:
files:
- "**/*"

0 comments on commit 9e7e107

Please sign in to comment.