From 88bdadc9c6a11eaf7219f7965d4375a496d730bd Mon Sep 17 00:00:00 2001 From: Tommaso Sciortino Date: Mon, 4 May 2026 10:03:22 -0700 Subject: [PATCH] revert: fix(ci): robust version checking in release verification (#26337) (#26450) --- .github/actions/verify-release/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/verify-release/action.yml b/.github/actions/verify-release/action.yml index e6bebe6ef6..d3d1d075d2 100644 --- a/.github/actions/verify-release/action.yml +++ b/.github/actions/verify-release/action.yml @@ -63,7 +63,7 @@ runs: shell: 'bash' working-directory: '${{ inputs.working-directory }}' run: |- - gemini_version=$(gemini --version 2>/dev/null) + gemini_version=$(gemini --version) if [ "$gemini_version" != "${INPUTS_EXPECTED_VERSION}" ]; then echo "❌ NPM Version mismatch: Got $gemini_version from ${INPUTS_NPM_PACKAGE}, expected ${INPUTS_EXPECTED_VERSION}" exit 1 @@ -80,7 +80,7 @@ runs: shell: 'bash' working-directory: '${{ inputs.working-directory }}' run: |- - gemini_version=$(npx --prefer-online "${INPUTS_NPM_PACKAGE}" --version 2>/dev/null) + gemini_version=$(npx --prefer-online "${INPUTS_NPM_PACKAGE}" --version) if [ "$gemini_version" != "${INPUTS_EXPECTED_VERSION}" ]; then echo "❌ NPX Run Version mismatch: Got $gemini_version from ${INPUTS_NPM_PACKAGE}, expected ${INPUTS_EXPECTED_VERSION}" exit 1