From 208496d6f788c158854ef4e203b6279a70caedc1 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Fri, 12 Sep 2025 14:45:05 +0800 Subject: [PATCH] chore: modify the check-version script (#490) (#521) - to pass the dev build (cherry picked from commit 18be022a9fb47df96d79c3bc277dfd43be757a03) Signed-off-by: Vicente Cheng Co-authored-by: freeze <1615081+Vicente-Cheng@users.noreply.github.com> --- scripts/check-version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/check-version.sh b/scripts/check-version.sh index 038bc96f..0dea7ca8 100755 --- a/scripts/check-version.sh +++ b/scripts/check-version.sh @@ -15,7 +15,7 @@ if [[ "$VERSION" != "$EXTENSION_VERSION" ]]; then exit 1 fi -if [[ "${TAG_VERSION}" != "$PKG_VERSION" ]]; then +if [[ "${TAG_VERSION}" != "${PKG_VERSION}"* ]]; then echo "Package version $PKG_VERSION in pkg/harvester/package.json does not match tag version ${TAG_VERSION}" exit 1 fi