We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4b87ab commit f62ff59Copy full SHA for f62ff59
.github/scripts/deploy.sh
@@ -12,6 +12,8 @@ aws s3api put-object --bucket $bucket --key "content/$version/LICENSE" --body LI
12
13
if [[ $version =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]
14
then
15
+ echo $version | aws s3 cp - s3://$bucket/content/current
16
+
17
minorUpdate=$(echo $version | sed -En "s/^([0-9]+\.)[0-9]+\.[0-9]+/\1x/p")
18
aws s3api put-object --bucket $bucket --key "content/$minorUpdate/cwr.js" --body build/assets/cwr.js --cache-control max-age=7200
19
aws s3api put-object --bucket $bucket --key "content/$minorUpdate/cwr.js.map" --body build/assets/cwr.js.map --cache-control max-age=7200
0 commit comments