From e7ec0962797f6054c969c3afa78261eded9f90dc Mon Sep 17 00:00:00 2001 From: William Parsley Date: Tue, 11 Jul 2023 12:47:09 -0500 Subject: [PATCH] Revert "fix semver regex (#3)" This reverts commit 55d86ff98aa56222fdff87f083a38fddf6d6f749. --- infra/scripts/setup-common-functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/scripts/setup-common-functions.sh b/infra/scripts/setup-common-functions.sh index aa34f18579..a70dacb6d4 100755 --- a/infra/scripts/setup-common-functions.sh +++ b/infra/scripts/setup-common-functions.sh @@ -55,7 +55,7 @@ get_tag_release() { # Match only Semver tags # Regular expression should match MAJOR.MINOR.PATCH[-PRERELEASE[.IDENTIFIER]] # eg. v0.7.1 v0.7.2-alpha v0.7.2-rc.1 - local TAG_REGEX='^eg-v[0-9]+\.[0-9]+\.[0-9]+(-([0-9A-Za-z-]+(\.[0-9A-Za-z-]+)*))?$' + local TAG_REGEX='^v[0-9]+\.[0-9]+\.[0-9]+(-([0-9A-Za-z-]+(\.[0-9A-Za-z-]+)*))?$' local OPTIND opt while getopts "ms" opt; do case "${opt}" in