mirror of
https://github.com/gravitl/netmaker.git
synced 2024-11-10 09:32:32 +08:00
c4b36ac791
* remove freebsd * undo quick script changes * Update nm-quick.sh --------- Co-authored-by: Abhishek K <32607604+abhishek9686@users.noreply.github.com>
33 lines
647 B
YAML
33 lines
647 B
YAML
before:
|
|
hooks:
|
|
# You may remove this if you don't use go modules.
|
|
- go mod tidy
|
|
builds:
|
|
- main: ./
|
|
env:
|
|
- CGO_ENABLED=1
|
|
ldflags:
|
|
- -s -w
|
|
targets:
|
|
- linux_amd64
|
|
binary: '{{ .ProjectName }}'
|
|
|
|
- main: ./cli
|
|
id: 'nmctl'
|
|
env:
|
|
- CGO_ENABLED=0
|
|
ldflags:
|
|
- -s -w
|
|
targets:
|
|
- linux_amd64
|
|
- linux_arm64
|
|
- darwin_amd64
|
|
- darwin_arm64
|
|
- windows_amd64
|
|
binary: 'nmctl'
|
|
archives:
|
|
- format: binary
|
|
name_template: '{{ .Binary }}-{{ .Os }}-{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}-{{ . }}{{ end }}'
|
|
release:
|
|
prerelease: true
|
|
|