Skip to content

Commit 4ffaa0e

Browse files
authored
chore: update semver validation script (#66)
1 parent ae84e6f commit 4ffaa0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/semver.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22

33
VERSION="${1}"
4-
rx='^([0-9]+\.){2}(\*|[0-9]+)$'
4+
rx='^([0-9]+\.){2}((\*|[0-9]+)|([0-9]+-rc\.[0-9]+))$'
55
if [[ $VERSION =~ $rx ]]; then
66
exit 0
77
else

0 commit comments

Comments
 (0)