diff --git a/scripts/semver.sh b/scripts/semver.sh index e1b1450..52783a6 100755 --- a/scripts/semver.sh +++ b/scripts/semver.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash VERSION="${1}" -rx='^([0-9]+\.){2}(\*|[0-9]+)$' +rx='^([0-9]+\.){2}((\*|[0-9]+)|([0-9]+-rc\.[0-9]+))$' if [[ $VERSION =~ $rx ]]; then exit 0 else