ergo/.goreleaser.yml

69 lines
1.3 KiB
YAML
Raw Permalink Normal View History

2018-01-07 03:21:44 +01:00
# .goreleaser.yml
# Build customization
2021-05-25 06:34:38 +02:00
project_name: ergo
2018-01-07 03:21:44 +01:00
builds:
2021-05-25 06:34:38 +02:00
- main: ergo.go
2023-01-01 06:10:39 +01:00
env:
- CGO_ENABLED=0
2021-05-25 06:34:38 +02:00
binary: ergo
2018-01-07 03:21:44 +01:00
goos:
- linux
2018-01-07 03:21:44 +01:00
- windows
- darwin
- freebsd
- openbsd
- plan9
2018-01-07 03:21:44 +01:00
goarch:
- amd64
- arm
- arm64
goarm:
- 6
ignore:
- goos: windows
goarch: arm
- goos: windows
goarch: arm64
2018-01-07 03:21:44 +01:00
- goos: darwin
goarch: arm
- goos: freebsd
goarch: arm
- goos: freebsd
goarch: arm64
- goos: openbsd
goarch: arm
- goos: openbsd
goarch: arm64
- goos: plan9
goarch: arm
- goos: plan9
goarch: arm64
2020-03-30 03:02:52 +02:00
flags:
- -trimpath
2020-05-20 16:31:05 +02:00
archives:
-
name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
format: tar.gz
replacements:
amd64: x86_64
darwin: macos
format_overrides:
- goos: windows
format: zip
files:
- README
- CHANGELOG.md
- LICENSE
2021-05-25 06:34:38 +02:00
- ergo.motd
- default.yaml
2020-10-23 06:27:55 +02:00
- traditional.yaml
2021-01-22 14:50:12 +01:00
- docs/MANUAL.md
2021-01-31 04:07:51 +01:00
- docs/USERGUIDE.md
2020-05-20 16:31:05 +02:00
- languages/*.yaml
- languages/*.json
- languages/*.md
wrap_in_directory: true
2018-01-07 03:21:44 +01:00
checksum:
name_template: "{{ .ProjectName }}-{{ .Version }}-checksums.txt"