1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-10 03:47:03 +02:00
goreleaser/docs/070-checksum.md
Carlos Alexandro Becker 062115e4f0
new docs
2017-09-10 17:07:28 -03:00

634 B

title
Custom checksum

GoRelease generates a project_1.0.0_checksums.txt and uploads it to the release as well, so your users can validate if the downloaded files are right.

The checksum section allows the customization of the filename:

# .goreleaser.yml
checksum:
  # You can change the name of the checksums file.
  # This is parsed with Golang template engine and the following variables
  # are available:
  # - ProjectName
  # - Tag
  # - Version (Tag with the `v` prefix stripped)
  # The default is `{{ .ProjectName }}_{{ .Version }}_checksums.txt`
  name_template: "{{ .ProjectName }}_checksums.txt"