From 680289fba47bd7b5096e25baffbcdeafdd9aaf0e Mon Sep 17 00:00:00 2001 From: Chris Farhood Date: Thu, 26 Feb 2026 17:33:24 +0000 Subject: [PATCH] fix(release): use correct tarball name (tns-csi, not headlamp-tns-csi-plugin) headlamp-plugin package names the tarball from package.json "name" field which is "tns-csi", producing tns-csi-VERSION.tar.gz. Co-Authored-By: Claude Opus 4.6 --- .github/workflows/release.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index bf2ebdc..a93f53d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -56,7 +56,7 @@ jobs: - name: Update artifacthub-pkg.yml version and URL run: | VERSION="${{ inputs.version }}" - RELEASE_URL="https://github.com/${{ github.repository }}/releases/download/v${VERSION}/headlamp-tns-csi-plugin-${VERSION}.tar.gz" + RELEASE_URL="https://github.com/${{ github.repository }}/releases/download/v${VERSION}/tns-csi-${VERSION}.tar.gz" sed -i "s|^version:.*|version: \"${VERSION}\"|" artifacthub-pkg.yml sed -i "s|headlamp/plugin/archive-url:.*|headlamp/plugin/archive-url: \"${RELEASE_URL}\"|" artifacthub-pkg.yml @@ -78,7 +78,7 @@ jobs: - name: Validate tarball run: | - EXPECTED="headlamp-tns-csi-plugin-${{ inputs.version }}.tar.gz" + EXPECTED="tns-csi-${{ inputs.version }}.tar.gz" if [ ! -f "$EXPECTED" ]; then echo "::error::Expected tarball not found: $EXPECTED" exit 1 @@ -88,7 +88,7 @@ jobs: - name: Compute checksum id: compute_checksum run: | - TARBALL="headlamp-tns-csi-plugin-${{ inputs.version }}.tar.gz" + TARBALL="tns-csi-${{ inputs.version }}.tar.gz" CHECKSUM=$(sha256sum "$TARBALL" | awk '{print $1}') echo "checksum=${CHECKSUM}" >> $GITHUB_OUTPUT echo "Checksum: sha256:${CHECKSUM}" @@ -113,7 +113,7 @@ jobs: uses: softprops/action-gh-release@v2 with: tag_name: "v${{ inputs.version }}" - files: headlamp-tns-csi-plugin-${{ inputs.version }}.tar.gz + files: tns-csi-${{ inputs.version }}.tar.gz fail_on_unmatched_files: true draft: false prerelease: false