2021-07-10 17:11:37 +00:00
|
|
|
# Dist folder
|
|
|
|
|
|
|
|
By default, GoReleaser will create its artifacts in the `./dist` folder.
|
2021-12-23 01:52:01 +01:00
|
|
|
If you must, you can change it by setting it in the `.goreleaser.yaml` file:
|
2021-07-10 17:11:37 +00:00
|
|
|
|
|
|
|
```yaml
|
2021-12-23 01:52:01 +01:00
|
|
|
# .goreleaser.yaml
|
2023-04-02 17:16:21 -03:00
|
|
|
#
|
2024-06-19 11:44:22 -03:00
|
|
|
# Default: './dist'.
|
2021-07-10 17:11:37 +00:00
|
|
|
dist: another-folder-that-is-not-dist
|
|
|
|
```
|
2023-04-02 17:16:21 -03:00
|
|
|
|
|
|
|
More often than not, you won't need to change this.
|
2024-01-21 22:16:05 -03:00
|
|
|
|
|
|
|
!!! warning
|
|
|
|
|
|
|
|
If you change this value, and use
|
2024-07-08 23:30:10 -03:00
|
|
|
[`goreleaser continue`](../cmd/goreleaser_continue.md),
|
2024-01-21 22:16:05 -03:00
|
|
|
you'll need to specify `--dist` when running it.
|