-
Notifications
You must be signed in to change notification settings - Fork 16
/
.goreleaser.yaml
80 lines (76 loc) · 1.51 KB
/
.goreleaser.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
version: 2
before:
hooks:
- go mod tidy
builds:
- id: linux
binary: retro_aim_server
goos:
- linux
goarch:
- amd64
- arm
goarm:
- "7"
main: ./cmd/server
env:
- CGO_ENABLED=0
- id: macos
binary: retro_aim_server
goos:
- darwin
goarch:
- amd64
- arm64
main: ./cmd/server
env:
- CGO_ENABLED=0
- id: windows
binary: retro_aim_server
goos:
- windows
goarch:
- amd64
main: ./cmd/server
env:
- CGO_ENABLED=0
archives:
- id: linux
builds:
- linux
format: tar.gz
wrap_in_directory: true
files:
- LICENSE
- src: config/settings.env
strip_parent: true
name_template: >-
{{ .Binary }}.{{ .Version }}.{{ .Os }}.
{{- if eq .Arch "amd64" }}x86_64{{ else }}arm64_arm7_raspberry_pi{{ end }}
- id: macos
builds:
- macos
format: zip
wrap_in_directory: true
files:
- LICENSE
- src: config/settings.env
strip_parent: true
name_template: >-
{{ .Binary }}.{{ .Version }}.macos.
{{- if eq .Arch "amd64" }}intel_x86_64{{ else }}apple_silicon{{ end }}
- id: windows
builds:
- windows
format: zip
wrap_in_directory: true
files:
- LICENSE
- src: config/settings.env
strip_parent: true
name_template: >-
{{ .Binary }}.{{ .Version }}.{{ .Os }}.
{{- if eq .Arch "amd64" }}x86_64
{{- else }}{{ .Arch }}{{ end }}
release:
draft: true