From b0ffead0e703586cf2c368a931d91158ec6cbd7a Mon Sep 17 00:00:00 2001 From: chaodu-agent Date: Sat, 25 Apr 2026 01:46:29 -0400 Subject: [PATCH] fix(ci): upload binaries to openab-* release tag The Helm release uses openab-X.Y.Z tag while the build triggers on vX.Y.Z. Try uploading to openab-* first (Helm release), fall back to v* tag. --- .github/workflows/build-binaries.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-binaries.yml b/.github/workflows/build-binaries.yml index 317863e1..3f7f5e71 100644 --- a/.github/workflows/build-binaries.yml +++ b/.github/workflows/build-binaries.yml @@ -65,10 +65,13 @@ jobs: GH_TOKEN: ${{ github.token }} shell: bash run: | - TAG="${{ steps.tag.outputs.tag }}" VERSION="${{ steps.tag.outputs.version }}" NAME="openab-${VERSION}-${{ matrix.os }}-${{ matrix.arch }}.${{ matrix.archive }}" - gh release upload "$TAG" "$NAME" --clobber || true + # Helm release uses openab-X.Y.Z tag, binary release uses vX.Y.Z tag + # Try both — one will exist + gh release upload "openab-${VERSION}" "$NAME" --clobber 2>/dev/null \ + || gh release upload "${{ steps.tag.outputs.tag }}" "$NAME" --clobber \ + || true - name: Upload artifact uses: actions/upload-artifact@v4