Skip to content

Commit

Permalink
More regex fixes in GHA yaml file
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanfrancoisgratton committed Aug 4, 2024
1 parent b073bbc commit da9167d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: |
TAG="${GITHUB_REF#refs/tags/}"
echo "Extracted TAG: $TAG"
if [[ ! "$TAG" =~ ^v?[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
if [[ ! "$TAG" =~ ^v[0-9]+\.[0-9]+\.[0-9]+(-[0-9A-Za-z.-]+)?(\+[0-9A-Za-z.-]+)?$ ]]; then
echo "Invalid SemVer tag: $TAG"
exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion current_package_version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.2.1
0.1.3

0 comments on commit da9167d

Please sign in to comment.