Skip to content

Commit

Permalink
Remove CacheBucket references from CloudFront template; update to sha…
Browse files Browse the repository at this point in the history
…rp v0.33
  • Loading branch information
mbklein committed Nov 30, 2023
1 parent b177f71 commit 2f5d52b
Show file tree
Hide file tree
Showing 11 changed files with 1,741 additions and 10,498 deletions.
10 changes: 6 additions & 4 deletions bin/update_version
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ for f in $root/package.json $root/src/package.json $root/dependencies/package.js
done

if [[ "$OSTYPE" = "darwin*" ]]; then
sedreplace="sed -i ''"
sedreplace="sed -Ei ''"
else
sedreplace="sed -i''"
sedreplace="sed -Ei"
fi

$sedreplace -E "s/SemanticVersion: .+/SemanticVersion: $version/" $root/sam/template.yml
$sedreplace -E "s/ serverless_iiif_app_version =.+/ serverless_iiif_app_version = \"$version\"" $root/extras/terraform/main.tf
for edition in . standalone cloudfront; do
$sedreplace "s/SemanticVersion: .+/SemanticVersion: $version/" $root/sam/$edition/template.yml
done
$sedreplace "s/ serverless_iiif_app_version =.+/ serverless_iiif_app_version = \"$version\"/" $root/extras/terraform/main.tf
Loading

0 comments on commit 2f5d52b

Please sign in to comment.