github.com/ahmet2mir/goreleaser@v0.180.3-0.20210927151101-8e5ee5a9b8c5/www/docs/customization/checksum.md (about) 1 --- 2 title: Checksum 3 --- 4 5 GoReleaser generates a `project_1.0.0_checksums.txt` file and uploads it with the 6 release, so your users can validate if the downloaded files are correct. 7 8 The `checksum` section allows customizations of the filename: 9 10 ```yaml 11 # .goreleaser.yml 12 checksum: 13 # You can change the name of the checksums file. 14 # Default is `{{ .ProjectName }}_{{ .Version }}_checksums.txt`. 15 name_template: "{{ .ProjectName }}_checksums.txt" 16 17 # Algorithm to be used. 18 # Accepted options are sha256, sha512, sha1, crc32, md5, sha224 and sha384. 19 # Default is sha256. 20 algorithm: sha256 21 22 # IDs of artifacts to include in the checksums file. 23 # If left empty, all published binaries, archives, linux packages and source archives 24 # are included in the checksums file. 25 # Default is an empty list. 26 ids: 27 - foo 28 - bar 29 30 # Disable the generation/upload of the checksum file. 31 # Default is false. 32 disable: true 33 34 # You can add extra pre-existing files to the checksums file. 35 # The filename on the checksums file will be the last part of the path (base). If 36 # another file with the same name exists, the last one found will be used. 37 # Defaults to empty. 38 extra_files: 39 - glob: ./path/to/file.txt 40 - glob: ./glob/**/to/**/file/**/* 41 - glob: ./glob/foo/to/bar/file/foobar/override_from_previous 42 ``` 43 44 !!! tip 45 Learn more about the [name template engine](/customization/templates/).