chore: modify the check-version script (#490) (#521)

- to pass the dev build


(cherry picked from commit 18be022a9fb47df96d79c3bc277dfd43be757a03)

Signed-off-by: Vicente Cheng <vicente.cheng@suse.com>
Co-authored-by: freeze <1615081+Vicente-Cheng@users.noreply.github.com>
This commit is contained in:
mergify[bot] 2025-09-12 14:45:05 +08:00 committed by GitHub
parent 967966e852
commit 208496d6f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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