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

- to pass the dev build

Signed-off-by: Vicente Cheng <vicente.cheng@suse.com>
This commit is contained in:
freeze 2025-08-31 15:11:35 +08:00 committed by GitHub
parent 56b4b46b5a
commit 18be022a9f
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