mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-10 03:47:03 +02:00
c04b18a289
This shortens the titles, fixes some typos, rephrases a few paragraphs, adds some additional information and attempts to keep vocabulary more consistent.
21 lines
523 B
Markdown
21 lines
523 B
Markdown
---
|
|
title: Snapshots
|
|
---
|
|
|
|
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:
|
|
|
|
```yml
|
|
# .goreleaser.yml
|
|
snapshot:
|
|
# Allows you to change the name of the generated snapshot
|
|
# releases. The following variables are available:
|
|
# - Commit
|
|
# - Tag
|
|
# - Timestamp
|
|
# Default is `SNAPSHOT-{{.Commit}}`.
|
|
name_template: SNAPSHOT-{{.Commit}}
|
|
```
|