From 0b3562bdc13cdc33844c3254331b2cfc33bacbe6 Mon Sep 17 00:00:00 2001 From: DevContainer User Date: Wed, 4 Mar 2026 01:48:16 +0000 Subject: [PATCH] fix: remove redundant tarball rename in release workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The mv was a leftover from when the plugin built in a subdirectory. Now that source lives at repo root, the tarball is already correctly named — just verify it exists instead. Co-Authored-By: Claude Opus 4.6 --- .github/workflows/release.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index db8db0a..1c888ff 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -71,7 +71,11 @@ jobs: VERSION="${{ inputs.version }}" PKG_NAME=$(jq -r .name package.json) TARBALL="${PKG_NAME}-${VERSION}.tar.gz" - mv *.tar.gz "$TARBALL" + if [ ! -f "$TARBALL" ]; then + echo "Error: Expected tarball $TARBALL not found" + ls -la *.tar.gz 2>/dev/null || echo "No .tar.gz files found" + exit 1 + fi echo "TARBALL=$TARBALL" >> $GITHUB_ENV echo "PKG_NAME=$PKG_NAME" >> $GITHUB_ENV