Skip to content

Commit d3e594c

Browse files
authored
Merge branch 'master' into feature/mosapi-client
2 parents afb94a4 + 0aa6bc6 commit d3e594c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

release/cloudbuild-release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,11 +288,11 @@ steps:
288288
- |
289289
set -e
290290
# Check for a nomulus release tag (e.g., "v1.2.3")
291-
if [[ "${TAG_NAME}" =~ ^nomulus-20\d{2}[0-1]\d[0-3]\d-RC\d{2}$ ]]; then
291+
if [[ "${TAG_NAME}" =~ ^nomulus-20[0-9]{2}[0-1][0-9][0-3][0-9]-RC[0-9]{2}$ ]]; then
292292
echo "Tag format matches a nomulus release. Triggering nomulus build..."
293293
gcloud builds submit . --config=release/cloudbuild-nomulus.yaml --substitutions=TAG_NAME=$TAG_NAME
294294
# Check for a proxy release tag (e.g., "proxy-v1.2.3")
295-
elif [[ "${TAG_NAME}" =~ ^proxy-20\d{2}[0-1]\d[0-3]\d-RC\d{2}$ ]]; then
295+
elif [[ "${TAG_NAME}" =~ ^proxy-20[0-9]{2}[0-1][0-9][0-3][0-9]-RC[0-9]{2}$ ]]; then
296296
echo "Tag format matches a proxy release. Triggering proxy build..."
297297
gcloud builds submit . --config=release/cloudbuild-proxy.yaml --substitutions=TAG_NAME=$TAG_NAME
298298
else

0 commit comments

Comments
 (0)