Skip to content

Commit

Permalink
fix: regex for release tag (#342)
Browse files Browse the repository at this point in the history
Fixes the regex used to validate the release tag for the CI pipeline.
Was having trouble with a service name containing an embedded hyphen,
like `content-publishing` or `content-watcher`.
  • Loading branch information
JoeCap08055 authored Aug 6, 2024
1 parent a166a97 commit eeb345f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: |
valid=false
test_run=false
ENTIRE_TAG_RE="^(([[:alpha:]]+)-)?(.*)$"
ENTIRE_TAG_RE="^(([[:alpha:]\-]+)-)?(.*)$"
VERSION_TAG_RE="^v[\.]?([[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+(-[[:alpha:][:digit:]\.]+)*)$"
TAG="${{ github.event.release.tag_name }}"
echo "Running with tag: ${TAG}"
Expand Down

0 comments on commit eeb345f

Please sign in to comment.