mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-10 03:47:03 +02:00
943ef1d81f
* docs: enable instant Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com> * fix: minify html Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com> * fix: edit uri Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com> * fix: remove uneeded meta Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com> * docs: several improvements Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com> * fix: broken links Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
25 lines
685 B
Markdown
25 lines
685 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:
|
|
|
|
```yaml
|
|
# .goreleaser.yml
|
|
checksum:
|
|
# You can change the name of the checksums file.
|
|
# Default is `{{ .ProjectName }}_{{ .Version }}_checksums.txt`.
|
|
name_template: "{{ .ProjectName }}_checksums.txt"
|
|
|
|
# Algorithm to be used.
|
|
# Accepted options are sha256, sha512, sha1, crc32, md5, sha224 and sha384.
|
|
# Default is sha256.
|
|
algorithm: sha256
|
|
```
|
|
|
|
!!! tip
|
|
Learn more about the [name template engine](/customization/templates).
|