Skip to content

Commit 4ae6e06

Browse files
committed
regex
1 parent f3d7bbe commit 4ae6e06

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/release.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
3030
- name: Validate tag
3131
run: |
32+
# https://regex101.com/r/Vu7qEb/1
3233
SEMVER_REGEX="^v[0-9]+\.[0-9]+\.[0-9]+$"
3334
if ! [[ ${{ github.event.inputs.version }} =~ $SEMVER_REGEX ]]; then
3435
echo "Error: Version ${{ github.event.inputs.version }} does not match the semver pattern (vMAJOR.MINOR.PATCH)."

0 commit comments

Comments
 (0)