From ac86d086bb9741dca36ea7cb1043c3b81d45e2fb Mon Sep 17 00:00:00 2001 From: Jon Ayers Date: Tue, 6 Feb 2024 23:18:32 +0000 Subject: [PATCH] chore: update semver validation script --- scripts/semver.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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