Skip to content

Commit

Permalink
Support multi digit semvers
Browse files Browse the repository at this point in the history
  • Loading branch information
gene1wood authored Mar 17, 2021
1 parent d182778 commit 796f307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if [[ "branch/master" == "$CODEBUILD_WEBHOOK_TRIGGER" ]]
then
echo "Deploying to the development CDN cdn.sso.allizom.org"
make deploy S3_BUCKET=sso-dashboard.configuration
elif [[ "$CODEBUILD_WEBHOOK_TRIGGER" =~ ^tag\/[0-9]\.[0-9]\.[0-9](\-(prod))?$ ]]
elif [[ "$CODEBUILD_WEBHOOK_TRIGGER" =~ ^tag\/[0-9]+\.[0-9]+\.[0-9]+(\-(prod))?$ ]]
then
echo "Deploying to the production CDN cdn.sso.mozilla.com"
make deploy S3_BUCKET=sso-dashboard.configuration-prod
Expand Down

0 comments on commit 796f307

Please sign in to comment.