3cc9a19a1c
* feat: add release system. * feat: goreleaser. * review: minor changes.
38 lines
No EOL
594 B
YAML
38 lines
No EOL
594 B
YAML
project_name: lego
|
|
|
|
builds:
|
|
- binary: lego
|
|
goos:
|
|
- windows
|
|
- darwin
|
|
- linux
|
|
- freebsd
|
|
- openbsd
|
|
- solaris
|
|
goarch:
|
|
- amd64
|
|
- 386
|
|
- arm
|
|
- arm64
|
|
goarm:
|
|
- 7
|
|
|
|
ignore:
|
|
- goos: darwin
|
|
goarch: 386
|
|
- goos: openbsd
|
|
goarch: arm
|
|
|
|
archive:
|
|
name_template: '{{ .ProjectName }}_v{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm
|
|
}}v{{ .Arm }}{{ end }}'
|
|
format: tar.gz
|
|
format_overrides:
|
|
- goos: windows
|
|
format: zip
|
|
files:
|
|
- LICENSE
|
|
- CHANGELOG.md
|
|
|
|
release:
|
|
disable: true |