croc/goreleaser.yml

43 lines
702 B
YAML
Raw Normal View History

2018-10-13 18:19:43 +02:00
project_name: croc
build:
main: main.go
binary: croc
2018-10-18 07:11:02 +02:00
ldflags: -s -w -X main.Version="v{{.Version}}"
2018-10-13 18:19:43 +02:00
env:
- CGO_ENABLED=0
goos:
- darwin
- linux
- windows
- openbsd
goarch:
- amd64
- 386
- arm
- arm64
goarm:
- 7
archive:
format: tar.gz
2018-07-03 16:23:30 +02:00
format_overrides:
2018-10-13 18:19:43 +02:00
- goos: windows
format: zip
name_template: "{{.ProjectName}}_{{.Version}}_{{.Os}}-{{.Arch}}"
replacements:
amd64: 64bit
386: 32bit
arm: ARM
arm64: ARM64
darwin: macOS
linux: Linux
windows: Windows
openbsd: OpenBSD
netbsd: NetBSD
freebsd: FreeBSD
dragonfly: DragonFlyBSD
files:
- README.md
- LICENSE
release:
2018-10-18 07:11:02 +02:00
draft: false