1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-10 03:47:03 +02:00
goreleaser/docs/070-checksum.md
Jorin Vogel c04b18a289
docs: Polish all docs
This shortens the titles, fixes some typos, rephrases a few paragraphs,
adds some additional information and attempts to keep vocabulary more
consistent.
2017-10-01 18:57:52 +02:00

22 lines
617 B
Markdown

---
title: Checksum
---
GoReleaser generates a `project_1.0.0_checksums.txt` file and uploads it with the
release, so your users can validate if the downloaded files are correct.
The `checksum` section allows customizations of the filename:
```yml
# .goreleaser.yml
checksum:
# You can change the name of the checksums file.
# This is parsed with the Go template engine and the following variables
# are available:
# - ProjectName
# - Tag
# - Version (Git tag without `v` prefix)
# Default is `{{ .ProjectName }}_{{ .Version }}_checksums.txt`.
name_template: "{{ .ProjectName }}_checksums.txt"
```