We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 008893d commit ba488b7Copy full SHA for ba488b7
scripts/version_validation.sh
@@ -17,7 +17,7 @@ msg_log(){
17
fi
18
}
19
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
+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
21
msg_log "Passed - Release version is valid - $_RELEASE_VERSION"
22
echo "$_RELEASE_VERSION"
23
else
0 commit comments