github.com/joselitofilho/goreleaser@v0.155.1-0.20210123221854-e4891856c593/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  
    35  !!! tip
    36      Learn more about the [name template engine](/customization/templates/).