3
0
mirror of https://github.com/ergochat/ergo.git synced 2025-02-13 04:00:48 +01:00
ergo/.goreleaser.yml

82 lines
1.7 KiB
YAML
Raw Normal View History

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