netmaker/.goreleaser.yaml
2023-02-15 15:29:42 -05:00

34 lines
664 B
YAML

before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
builds:
- main: ./
id: "netmaker"
env:
- CGO_ENABLED=1
ldflags:
- -s -w
targets:
- linux_amd64
binary: netmaker
- main: ./cli
id: "nmctl"
env:
- CGO_ENABLED=0
ldflags:
- -s -w
targets:
- linux_amd64
- linux_arm64
- darwin_amd64
- darwin_arm64
- freebsd_amd64
- windows_amd64
binary: nmctl
archives:
- format: binary
name_template: '{{ .Binary }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}'
changelog:
skip: true