2018-01-07 03:21:44 +01:00
|
|
|
# .goreleaser.yml
|
|
|
|
# Build customization
|
2024-07-05 23:18:08 +02:00
|
|
|
version: 2
|
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:
|
2021-11-14 19:13:33 +01:00
|
|
|
- linux
|
2018-01-07 03:21:44 +01:00
|
|
|
- windows
|
|
|
|
- darwin
|
2021-11-14 19:13:33 +01:00
|
|
|
- freebsd
|
|
|
|
- openbsd
|
|
|
|
- plan9
|
2018-01-07 03:21:44 +01:00
|
|
|
goarch:
|
|
|
|
- amd64
|
|
|
|
- arm
|
|
|
|
- arm64
|
2024-06-21 05:55:20 +02:00
|
|
|
- riscv64
|
2018-01-07 03:21:44 +01:00
|
|
|
goarm:
|
|
|
|
- 6
|
|
|
|
ignore:
|
|
|
|
- goos: windows
|
|
|
|
goarch: arm
|
2021-11-14 19:13:33 +01:00
|
|
|
- goos: windows
|
|
|
|
goarch: arm64
|
2024-06-21 05:55:20 +02:00
|
|
|
- goos: windows
|
|
|
|
goarch: riscv64
|
2018-01-07 03:21:44 +01:00
|
|
|
- goos: darwin
|
|
|
|
goarch: arm
|
2024-06-21 05:55:20 +02:00
|
|
|
- goos: darwin
|
|
|
|
goarch: riscv64
|
2018-01-07 03:21:44 +01:00
|
|
|
- goos: freebsd
|
|
|
|
goarch: arm
|
|
|
|
- goos: freebsd
|
|
|
|
goarch: arm64
|
2024-06-21 05:55:20 +02:00
|
|
|
- goos: freebsd
|
|
|
|
goarch: riscv64
|
2021-11-14 19:13:33 +01:00
|
|
|
- goos: openbsd
|
|
|
|
goarch: arm
|
|
|
|
- goos: openbsd
|
|
|
|
goarch: arm64
|
2024-06-21 05:55:20 +02:00
|
|
|
- goos: openbsd
|
|
|
|
goarch: riscv64
|
2021-11-14 19:13:33 +01:00
|
|
|
- goos: plan9
|
|
|
|
goarch: arm
|
|
|
|
- goos: plan9
|
|
|
|
goarch: arm64
|
2024-06-21 05:55:20 +02:00
|
|
|
- goos: plan9
|
|
|
|
goarch: riscv64
|
2020-03-30 03:02:52 +02:00
|
|
|
flags:
|
|
|
|
- -trimpath
|
2020-05-20 16:31:05 +02:00
|
|
|
|
|
|
|
archives:
|
|
|
|
-
|
2024-07-05 23:18:08 +02:00
|
|
|
name_template: >-
|
|
|
|
{{ .ProjectName }}-{{ .Version }}-
|
|
|
|
{{- if eq .Os "darwin" }}macos{{- else }}{{ .Os }}{{ end -}}-
|
|
|
|
{{- if eq .Arch "amd64" }}x86_64{{- else }}{{ .Arch }}{{ end -}}
|
|
|
|
{{ if .Arm }}v{{ .Arm }}{{ end -}}
|
2020-05-20 16:31:05 +02:00
|
|
|
format: tar.gz
|
|
|
|
format_overrides:
|
|
|
|
- goos: windows
|
|
|
|
format: zip
|
|
|
|
files:
|
|
|
|
- README
|
|
|
|
- CHANGELOG.md
|
2021-11-14 19:13:33 +01:00
|
|
|
- LICENSE
|
2021-05-25 06:34:38 +02:00
|
|
|
- ergo.motd
|
2020-06-15 00:54:36 +02:00
|
|
|
- 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"
|