From 7aa1c870091c33c6ff1005cf8fa58103a00eef15 Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Fri, 22 Sep 2023 14:49:49 +0000 Subject: [PATCH] fix: release footer URLs should use Tag instead of Version --- footer.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/footer.md b/footer.md index 40ea613..09871ff 100644 --- a/footer.md +++ b/footer.md @@ -6,7 +6,7 @@ First, download the [`checksums.txt` file](https://github.com/charmbracelet/{{.ProjectName}}/releases/download/{{.Version}}/checksums.txt), for example, with `wget`: ```bash -wget 'https://github.com/charmbracelet/{{.ProjectName}}/releases/download/{{.Version}}/checksums.txt' +wget 'https://github.com/charmbracelet/{{.ProjectName}}/releases/download/{{.TAg}}/checksums.txt' ``` Then, verify it using [`cosign`](https://github.com/sigstore/cosign): @@ -15,8 +15,8 @@ Then, verify it using [`cosign`](https://github.com/sigstore/cosign): cosign verify-blob \ --certificate-identity 'https://github.com/charmbracelet/meta/.github/workflows/goreleaser.yml@refs/heads/main' \ --certificate-oidc-issuer 'https://token.actions.githubusercontent.com' \ - --cert 'https://github.com/charmbracelet/{{.ProjectName}}/releases/download/{{.Version}}/checksums.txt.pem' \ - --signature 'https://github.com/charmbracelet/{{.ProjectName}}/releases/download/{{.Version}}/checksums.txt.sig' \ + --cert 'https://github.com/charmbracelet/{{.ProjectName}}/releases/download/{{.Tag}}/checksums.txt.pem' \ + --signature 'https://github.com/charmbracelet/{{.ProjectName}}/releases/download/{{.Tag}}/checksums.txt.sig' \ ./checksums.txt ```