Skip to content

Commit ba488b7

Browse files
authored
Update version_validation.sh
1 parent 008893d commit ba488b7

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
@@ -17,7 +17,7 @@ msg_log(){
1717
fi
1818
}
1919

20-
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
20+
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}(?<=[0-9]){1,}$ ]]; then
2121
msg_log "Passed - Release version is valid - $_RELEASE_VERSION"
2222
echo "$_RELEASE_VERSION"
2323
else

0 commit comments

Comments
 (0)