1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

docs: fix prebuilt binaries page (#3987)

<!--

Hi, thanks for contributing!

Please make sure you read our CONTRIBUTING guide.

Also, add tests and the respective documentation changes as well.

-->


<!-- If applied, this commit will... -->

Fixes documentation for the "prebuilt binaries" section of the docs
This commit is contained in:
Brian Strauch 2023-05-05 09:37:52 -07:00 committed by GitHub
parent d371145f89
commit b54d9d8aa4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -479,13 +479,13 @@ builds:
# 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 }}_{{ with .Amd64 }}_{{ . }}{{ end }}/mybin
path: output/mybin_{{ .Os }}_{{ .Arch }}{{ with .Amd64 }}_{{ . }}{{ end }}/mybin
```
This example config will import into your release pipeline the following
binaries:
- `output/mybin_linux_amd64`
- `output/mybin_linux_amd64_v1`
- `output/mybin_linux_arm64`
- `output/mybin_darwin_amd64_v1`
- `output/mybin_darwin_arm64`