mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-02-13 13:48:40 +02:00
parent
07d9855890
commit
c8354d5ac9
@ -7,6 +7,7 @@ weight: 70
|
|||||||
|
|
||||||
Sometimes we want to generate a full build of our project,
|
Sometimes we want to generate a full build of our project,
|
||||||
but neither want to validate anything nor upload it to anywhere.
|
but neither want to validate anything nor upload it to anywhere.
|
||||||
|
|
||||||
GoReleaser supports this with the `--snapshot` flag
|
GoReleaser supports this with the `--snapshot` flag
|
||||||
and also with the `snapshot` customization section:
|
and also with the `snapshot` customization section:
|
||||||
|
|
||||||
@ -19,3 +20,7 @@ snapshot:
|
|||||||
```
|
```
|
||||||
|
|
||||||
> Learn more about the [name template engine](/templates).
|
> Learn more about the [name template engine](/templates).
|
||||||
|
|
||||||
|
Note that the idea behind GoReleaser's snapshots if mostly for local builds
|
||||||
|
or to validate your build on the CI pipeline. Artifacts shouldn't be uploaded
|
||||||
|
anywhere, and will only be generated to the `dist` folder.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user