Compare commits

...

1 Commits

Author SHA1 Message Date
Dotta
964e04369a fixes verification 2026-03-12 12:55:26 -05:00

View File

@@ -350,7 +350,6 @@ if [ "$canary" = true ]; then
npx changeset pre enter canary npx changeset pre enter canary
fi fi
npx changeset version npx changeset version
VERSIONED_PACKAGE_INFO="$(list_public_package_info)"
if [ "$canary" = true ]; then if [ "$canary" = true ]; then
BASE_CANARY_VERSION="${TARGET_STABLE_VERSION}-canary.0" BASE_CANARY_VERSION="${TARGET_STABLE_VERSION}-canary.0"
@@ -359,6 +358,8 @@ if [ "$canary" = true ]; then
fi fi
fi fi
VERSIONED_PACKAGE_INFO="$(list_public_package_info)"
VERSION_IN_CLI_PACKAGE="$(node -e "console.log(require('$CLI_DIR/package.json').version)")" VERSION_IN_CLI_PACKAGE="$(node -e "console.log(require('$CLI_DIR/package.json').version)")"
if [ "$VERSION_IN_CLI_PACKAGE" != "$TARGET_PUBLISH_VERSION" ]; then if [ "$VERSION_IN_CLI_PACKAGE" != "$TARGET_PUBLISH_VERSION" ]; then
release_fail "versioning drift detected. Expected $TARGET_PUBLISH_VERSION but found $VERSION_IN_CLI_PACKAGE." release_fail "versioning drift detected. Expected $TARGET_PUBLISH_VERSION but found $VERSION_IN_CLI_PACKAGE."