]> git.r.bdr.sh - rbdr/mobius/blame - .goreleaser.yaml
Update docker image name
[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
c29db3db 10 binary: mobius-hotline-server
e995052e
JH
11 env:
12 - CGO_ENABLED=0
13 goarch:
14 - amd64
fd4ffd9e 15 - arm64
5954ccad 16 - arm
fd4ffd9e
JH
17 goos:
18 - linux
19 - windows
20 - darwin
c29db3db
JH
21# - id: "mobius-hotline-client"
22# main: ./cmd/mobius-hotline-client
23# binary: mobius-hotline-client
24# env:
25# - CGO_ENABLED=0
26# goarch:
27# - amd64
28# - arm64
29# goos:
30# - linux
31# - windows
32# - darwin
fd4ffd9e
JH
33
34archives:
c29db3db
JH
35 - id: "mobius-hotline-server"
36 format: tar.gz
fd4ffd9e
JH
37 # this name template makes the OS and Arch compatible with the results of `uname`.
38 name_template: >-
c29db3db 39 {{ .ProjectName }}_server_
fd4ffd9e
JH
40 {{- title .Os }}_
41 {{- if eq .Arch "amd64" }}x86_64
42 {{- else if eq .Arch "386" }}i386
43 {{- else }}{{ .Arch }}{{ end }}
44 {{- if .Arm }}v{{ .Arm }}{{ end }}
45 # use zip for windows archives
46 format_overrides:
47 - goos: windows
48 format: zip
c29db3db
JH
49# - id: "mobius-hotline-client"
50# format: tar.gz
51# # this name template makes the OS and Arch compatible with the results of `uname`.
52# name_template: >-
53# {{ .ProjectName }}_client_
54# {{- title .Os }}_
55# {{- if eq .Arch "amd64" }}x86_64
56# {{- else if eq .Arch "386" }}i386
57# {{- else }}{{ .Arch }}{{ end }}
58# {{- if .Arm }}v{{ .Arm }}{{ end }}
59# # use zip for windows archives
60# format_overrides:
61# - goos: windows
62# format: zip
fd4ffd9e
JH
63
64changelog:
65 sort: asc
66 filters:
67 exclude:
68 - "^docs:"
69 - "^test:"