-
-
Notifications
You must be signed in to change notification settings - Fork 107
/
.goreleaser.yml
80 lines (80 loc) · 1.52 KB
/
.goreleaser.yml
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
builds:
- binary: iamlive
env:
- CGO_ENABLED=0
id: windows
goos:
- windows
goarch:
- "386"
- amd64
- binary: iamlive
env:
- CGO_ENABLED=0
id: linux
goos:
- linux
goarch:
- "386"
- amd64
- arm64
- binary: iamlive
env:
- CGO_ENABLED=0
id: macos-amd64
goos:
- darwin
goarch:
- amd64
hooks:
post:
- gon .gon-amd64.json
- mv dist/iamlive-darwin-amd64.dmg dist/iamlive-v{{ .Version }}-darwin-amd64.dmg
- mv dist/iamlive-darwin-amd64.zip dist/iamlive-v{{ .Version }}-darwin-amd64.zip
- ls dist/
- binary: iamlive
env:
- CGO_ENABLED=0
id: macos-arm64
goos:
- darwin
goarch:
- arm64
hooks:
post:
- gon .gon-arm64.json
- mv dist/iamlive-darwin-arm64.dmg dist/iamlive-v{{ .Version }}-darwin-arm64.dmg
- mv dist/iamlive-darwin-arm64.zip dist/iamlive-v{{ .Version }}-darwin-arm64.zip
- ls dist/
archives:
- id: linux-archive
builds:
- linux
format: tar.gz
name_template: "{{ .ProjectName }}-v{{ .Version }}-{{ .Os }}-{{ .Arch }}"
files:
- none*
- id: windows-archive
builds:
- windows
format: zip
name_template: "{{ .ProjectName }}-v{{ .Version }}-{{ .Os }}-{{ .Arch }}"
files:
- none*
- id: darwin-archive
builds:
- macos-amd64
- macos-arm64
format: tar.gz
name_template: "{{ .ProjectName }}-v{{ .Version }}-{{ .Os }}-{{ .Arch }}"
files:
- none*
release:
ids:
- linux-archive
- windows-archive
extra_files:
- glob: ./dist/*.dmg
- glob: ./dist/*-darwin-amd64.zip
- glob: ./dist/*-darwin-arm64.zip
checksum: