github.com/szyn/goreleaser@v0.76.1-0.20180517112710-333da09a1297/www/content/snapshots.md (about)

     1  ---
     2  title: Snapshots
     3  series: customization
     4  hideFromIndex: true
     5  weight: 70
     6  ---
     7  
     8  Sometimes we want to generate a full build of our project,
     9  but neither want to validate anything nor upload it to anywhere.
    10  GoReleaser supports this with the `--snapshot` flag
    11  and also with the `snapshot` customization section:
    12  
    13  ```yml
    14  # .goreleaser.yml
    15  snapshot:
    16    # Allows you to change the name of the generated snapshot
    17    # releases. The following variables are available:
    18    # - Commit
    19    # - Tag
    20    # - Timestamp
    21    # Default is `SNAPSHOT-{{.Commit}}`.
    22    name_template: SNAPSHOT-{{.Commit}}
    23  ```