Skip to content

Commit

Permalink
fix: release footer URLs should use Tag instead of Version
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Sep 22, 2023
1 parent 84acb33 commit 7aa1c87
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions footer.md
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand All @@ -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
```

Expand Down

0 comments on commit 7aa1c87

Please sign in to comment.