Skip to content

Commit 5124452

Browse files
committed
update regex
1 parent bb8c189 commit 5124452

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/version_validation.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ msg_log(){
1616
fi
1717
}
1818

19-
if [[ $_RELEASE_VERSION =~ ^[0-9]{1,}(\.[0-9]*)*(\.(a|b|rc)[0-9]{1,}|(\.post[0-9]{1,})|(\.dev[0-9]{1,})){0,1}$ ]]; then
19+
if [[ $_RELEASE_VERSION =~ ^[0-9]{1,}(\.[0-9]*)*(\.[0-9]{1,}(a|b|rc)[0-9]{1,}|(\.post[0-9]{1,})|(\.dev[0-9]{1,})){0,1}$ ]]; then
2020
msg_log "Passed - Release version is valid - $_RELEASE_VERSION"
2121
echo "$_RELEASE_VERSION"
2222
else

0 commit comments

Comments
 (0)