Skip to content

Commit 39e5488

Browse files
wyattwalterclaude
andcommitted
fix(ci): keep original tarball filename for checksum verification
sha256sum --check matches by filename, so the downloaded tarball must keep its original name to match the checksums.txt entry. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e178632 commit 39e5488

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/helm-docs.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,11 @@ jobs:
4040
run: |
4141
HELM_DOCS_VERSION=1.14.2
4242
BASE_URL="https://github.com/norwoodj/helm-docs/releases/download/v${HELM_DOCS_VERSION}"
43+
TARBALL="helm-docs_${HELM_DOCS_VERSION}_Linux_x86_64.tar.gz"
4344
curl -sSL "${BASE_URL}/helm-docs_${HELM_DOCS_VERSION}_checksums.txt" -o checksums.txt
44-
curl -sSL "${BASE_URL}/helm-docs_${HELM_DOCS_VERSION}_Linux_x86_64.tar.gz" -o helm-docs.tar.gz
45+
curl -sSL "${BASE_URL}/${TARBALL}" -o "${TARBALL}"
4546
sha256sum --check --ignore-missing checksums.txt
46-
tar xzf helm-docs.tar.gz helm-docs
47+
tar xzf "${TARBALL}" helm-docs
4748
sudo mv helm-docs /usr/local/bin/
4849
4950
- name: Check values schema

0 commit comments

Comments
 (0)