mirror of
https://github.com/goreleaser/goreleaser.git
synced 2024-12-31 01:53:50 +02:00
parent
0ebf43a0fd
commit
08e0830979
@ -5,9 +5,9 @@ hideFromIndex: true
|
||||
weight: 30
|
||||
---
|
||||
|
||||
Builds can be customized in multiple ways.
|
||||
You can specify for which `GOOS`, `GOARCH` and `GOARM` binaries are built
|
||||
(goreleaser will generate a matrix of all combinations), and you can changed
|
||||
Builds can be customized in multiple ways.
|
||||
You can specify for which `GOOS`, `GOARCH` and `GOARM` binaries are built
|
||||
(goreleaser will generate a matrix of all combinations), and you can changed
|
||||
the name of the binary, flags, environment variables, hooks and etc.
|
||||
|
||||
Here is a commented `builds` section with all fields specified:
|
||||
@ -28,8 +28,7 @@ builds:
|
||||
# Set flags for custom build tags.
|
||||
# Default is empty.
|
||||
flags:
|
||||
- -tags
|
||||
- dev
|
||||
- -tags=dev
|
||||
|
||||
# Custom asmflags templates.
|
||||
# Default is empty.
|
||||
|
Loading…
Reference in New Issue
Block a user