[action] add header and footer to github release page

This commit is contained in:
max furman 2021-09-09 16:35:09 -07:00
parent ae42daf288
commit 8a99f7e458

View file

@ -156,6 +156,35 @@ release:
# Default is `{{.Tag}}` # Default is `{{.Tag}}`
#name_template: "{{.ProjectName}}-v{{.Version}} {{.Env.USER}}" #name_template: "{{.ProjectName}}-v{{.Version}} {{.Env.USER}}"
# Header template for the release body.
# Defaults to empty.
header: |
Welcome to this new release!
## Signatures and Checksums
`step-ca` uses [sigstore/cosign](https://github.com/sigstore/cosign) for signing and verifying release artifacts.
Here is an example of how to use `cosign` to verify a release artifact:
```
cosign verify-blob \
-key https://raw.githubusercontent.com/smallstep/cli/master/cosign.pub \
-signature ~/Downloads/step-ca_darwin_0.17.2_amd64.tar.gz.sig
~/Downloads/step-ca_darwin_0.17.2_amd64.tar.gz
```
We use the `checksums.txt` file to store checksums for every artifact in the release.
# Footer template for the release body.
# Defaults to empty.
footer: |
## Thanks!
Those were the changes on {{ .Tag }}!
Come join us on [Discord](https://discord.gg/X2RKGwEbV9) to ask questions, chat about PKI,
or get a sneak peak at the freshest PKI memes.
# You can disable this pipe in order to not upload any artifacts. # You can disable this pipe in order to not upload any artifacts.
# Defaults to false. # Defaults to false.
#disable: true #disable: true