]> git.r.bdr.sh - rbdr/mobius/blame - .goreleaser.yaml
Update goreleaser config
[rbdr/mobius] / .goreleaser.yaml
CommitLineData
fd4ffd9e
JH
1version: 1
2
3before:
4 hooks:
5 - go mod tidy
6
7builds:
e995052e
JH
8 - id: "mobius-hotline-server"
9 main: ./cmd/mobius-hotline-server
10 env:
11 - CGO_ENABLED=0
12 goarch:
13 - amd64
14 - arm
15 - arm64
16 goos:
17 - linux
18 - windows
19 - darwin
20 - id: "mobius-hotline-client"
21 main: ./cmd/mobius-hotline-client
22 env:
fd4ffd9e
JH
23 - CGO_ENABLED=0
24 goarch:
25 - amd64
26 - arm
27 - arm64
28 goos:
29 - linux
30 - windows
31 - darwin
32
33archives:
34 - format: tar.gz
35 # this name template makes the OS and Arch compatible with the results of `uname`.
36 name_template: >-
37 {{ .ProjectName }}_
38 {{- title .Os }}_
39 {{- if eq .Arch "amd64" }}x86_64
40 {{- else if eq .Arch "386" }}i386
41 {{- else }}{{ .Arch }}{{ end }}
42 {{- if .Arm }}v{{ .Arm }}{{ end }}
43 # use zip for windows archives
44 format_overrides:
45 - goos: windows
46 format: zip
47
48changelog:
49 sort: asc
50 filters:
51 exclude:
52 - "^docs:"
53 - "^test:"