From abc67e7f36ac9f5e851ffad87581887330001667 Mon Sep 17 00:00:00 2001 From: Elliot Winkler Date: Wed, 8 Jul 2026 15:48:05 -0600 Subject: [PATCH 1/2] Fix check-release to ignore reversions to 0.0.0 Sometimes we set the version of a package prematurely and need to revert it to 0.0.0. Currently, the `check-release` would flag this as a problem: it would think that the package was being staged for release and and would require the `package.json` to also be bumped. In reality, however, this step should not be necessary, as packages with a version of 0.0.0 will not be released anyway. --- .github/actions/check-release/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/check-release/action.yml b/.github/actions/check-release/action.yml index fa9ab9d3cad..997807430b7 100644 --- a/.github/actions/check-release/action.yml +++ b/.github/actions/check-release/action.yml @@ -55,7 +55,7 @@ runs: CURRENT_VERSION=$(echo "$PACKAGE_JSON_AT_BASE" | jq -r .version) NEW_VERSION=$(jq -r .version "$package") - if [ "$NEW_VERSION" != "$CURRENT_VERSION" ]; then + if [ "$NEW_VERSION" != "0.0.0" && "$NEW_VERSION" != "$CURRENT_VERSION" ]; then ANY_PACKAGE_BUMPED=true package_name=$(jq -r ".name" "$package") echo "📦 Package \`$package_name\` has a version bump (\`$CURRENT_VERSION\` -> \`$NEW_VERSION\`)" From 1ff9b0f72753552f1837e9e5b422122685756f52 Mon Sep 17 00:00:00 2001 From: Elliot Winkler Date: Wed, 8 Jul 2026 16:00:03 -0600 Subject: [PATCH 2/2] Use [[...]] so && works --- .github/actions/check-release/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/check-release/action.yml b/.github/actions/check-release/action.yml index 997807430b7..f1f2196046d 100644 --- a/.github/actions/check-release/action.yml +++ b/.github/actions/check-release/action.yml @@ -55,7 +55,7 @@ runs: CURRENT_VERSION=$(echo "$PACKAGE_JSON_AT_BASE" | jq -r .version) NEW_VERSION=$(jq -r .version "$package") - if [ "$NEW_VERSION" != "0.0.0" && "$NEW_VERSION" != "$CURRENT_VERSION" ]; then + if [[ "$NEW_VERSION" != "0.0.0" && "$NEW_VERSION" != "$CURRENT_VERSION" ]]; then ANY_PACKAGE_BUMPED=true package_name=$(jq -r ".name" "$package") echo "📦 Package \`$package_name\` has a version bump (\`$CURRENT_VERSION\` -> \`$NEW_VERSION\`)"