1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-24 04:16:27 +02:00
goreleaser/www/content/snapshots.md

22 lines
544 B
Markdown
Raw Normal View History

2017-09-10 17:07:28 -03:00
---
title: Snapshots
series: customization
hideFromIndex: true
weight: 70
2017-09-10 17:07:28 -03:00
---
Sometimes we want to generate a full build of our project,
but neither want to validate anything nor upload it to anywhere.
GoReleaser supports this with the `--snapshot` flag
and also with the `snapshot` customization section:
2017-09-10 17:07:28 -03:00
```yml
# .goreleaser.yml
snapshot:
# Allows you to change the name of the generated snapshot
# Default is `SNAPSHOT-{{.Commit}}`.
2017-09-10 17:07:28 -03:00
name_template: SNAPSHOT-{{.Commit}}
```
2018-07-08 23:57:46 -07:00
> Learn more about the [name template engine](/templates).