From 0b917d3e7e603880ae21fc06af1ebc8e6443b195 Mon Sep 17 00:00:00 2001 From: Ling-Sen Peng Date: Tue, 21 Jul 2026 13:57:42 -0700 Subject: [PATCH] fix(ci): strip leading v from version input in e2e bundle release workflow A manually dispatched run with input v4.0.0-rc1 produced upload target vv4.0.0-rc1 because only the release-event path stripped the v prefix. Normalize the version after both branches instead. Co-Authored-By: Claude Fable 5 --- .github/workflows/release-agent-e2e-bundle.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-agent-e2e-bundle.yml b/.github/workflows/release-agent-e2e-bundle.yml index 0c103a19..50fca562 100644 --- a/.github/workflows/release-agent-e2e-bundle.yml +++ b/.github/workflows/release-agent-e2e-bundle.yml @@ -37,9 +37,9 @@ jobs: if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then VERSION="${{ inputs.version }}" else - TAG="${{ github.event.release.tag_name }}" - VERSION="${TAG#v}" + VERSION="${{ github.event.release.tag_name }}" fi + VERSION="${VERSION#v}" echo "version=${VERSION}" >> "$GITHUB_OUTPUT" echo "Packaging agent e2e bundle for version: ${VERSION}"