github.com/droot/goreleaser@v0.66.2-0.20180420030140-c2db5fb17157/docs/080-snapshots.md (about)

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