From ca7c2f6f15623b7041f7b3aa47fa93b16a4e6e87 Mon Sep 17 00:00:00 2001 From: Shiming Zhang Date: Mon, 7 Nov 2022 09:55:24 +0800 Subject: [PATCH] Update default regex (#259) --- hack/helper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/helper.sh b/hack/helper.sh index d8b638e..22b8971 100755 --- a/hack/helper.sh +++ b/hack/helper.sh @@ -5,7 +5,7 @@ set -o nounset set -o pipefail ROOT="${ROOT:-$(dirname "${BASH_SOURCE}")/..}" -DEFAULT_REGEX='^([a-z]+-)?[a-z]*[0-9]+(\.[0-9]+){0,2}(-.+)?(__.+)?$|^[a-z]+$' +DEFAULT_REGEX='^([a-z]+-)?[a-z]*[0-9]+(\.[0-9]+){0,2}(-.+)$' SKOPEO="${SKOPEO:-skopeo}" ROOT=$(realpath ${ROOT}) DOMAIN="${DOMAIN:-m.daocloud.io}"