mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-17 20:47:50 +02:00
docs: improve docs
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit is contained in:
parent
2c6c832d3c
commit
315c805efc
@ -330,14 +330,23 @@ In any case, its pretty easy to do that now:
|
||||
```yaml
|
||||
# .goreleaser.yml
|
||||
builds:
|
||||
- id: prebuilt
|
||||
-
|
||||
# Set the builder to prebuilt
|
||||
builder: prebuilt
|
||||
|
||||
# When builder is `prebuilt` there are no defaults for goos, goarch,
|
||||
# goarm, gomips and targets.
|
||||
goos:
|
||||
- linux
|
||||
- darwin
|
||||
goarch:
|
||||
- amd64
|
||||
- arm64
|
||||
|
||||
# Path must be the template path to the binaries.
|
||||
# GoReleaser removes the `dist` folder before running, so you will likely
|
||||
# want to put the binaries elsewhere.
|
||||
# This field is required when using the `prebuilt` builder.
|
||||
path: output/mybin_{{ .Os }}_{{ .Arch }}
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user