3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-22 03:49:27 +01:00
ergo/.goreleaser.yml

82 lines
1.7 KiB
YAML
Raw Normal View History

2018-01-07 03:21:44 +01:00
# .goreleaser.yml
# Build customization
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:
- 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
- riscv64
2018-01-07 03:21:44 +01:00
goarm:
- 6
ignore:
- goos: windows
goarch: arm
- goos: windows
goarch: arm64
- goos: windows
goarch: riscv64
2018-01-07 03:21:44 +01:00
- goos: darwin
goarch: arm
- goos: darwin
goarch: riscv64
2018-01-07 03:21:44 +01: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-30 03:02:52 +02:00
flags:
- -trimpath
2020-05-20 16:31:05 +02: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 16:31:05 +02:00
format: tar.gz
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"