mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-26 04:22:05 +02:00
22 lines
544 B
Markdown
22 lines
544 B
Markdown
---
|
|
title: Snapshots
|
|
series: customization
|
|
hideFromIndex: true
|
|
weight: 70
|
|
---
|
|
|
|
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
|
|
# Default is `SNAPSHOT-{{.Commit}}`.
|
|
name_template: SNAPSHOT-{{.Commit}}
|
|
```
|
|
|
|
> Learn more about the [name template engine](/templates).
|