-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
63 lines (59 loc) · 1.56 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
project_name: ironstar-cli
builds:
- id: macos-amd64
binary: iron-macos-amd64
goos:
- darwin
goarch:
- amd64
ldflags:
- -X github.com/ironstar-io/ironstar-cli/internal/system/version.version={{.Version}}
- -X github.com/ironstar-io/ironstar-cli/internal/system/version.buildDate={{.Date}}
- id: macos-arm64
binary: iron-macos-arm64
goos:
- darwin
goarch:
- arm64
ldflags:
- -X github.com/ironstar-io/ironstar-cli/internal/system/version.version={{.Version}}
- -X github.com/ironstar-io/ironstar-cli/internal/system/version.buildDate={{.Date}}
- id: windows-amd64
binary: iron-windows-amd64.exe
goos:
- windows
goarch:
- amd64
ldflags:
- -X github.com/ironstar-io/ironstar-cli/internal/system/version.version={{.Version}}
- -X github.com/ironstar-io/ironstar-cli/internal/system/version.buildDate={{.Date}}
- id: linux-amd64
binary: iron-linux-amd64
goos:
- linux
goarch:
- amd64
ldflags:
- -X github.com/ironstar-io/ironstar-cli/internal/system/version.version={{.Version}}
- -X github.com/ironstar-io/ironstar-cli/internal/system/version.buildDate={{.Date}}
universal_binaries:
-
ids:
- macos-amd64
- macos-arm64
replace: true
name_template: 'iron-macos'
hooks:
post: gon gon.hcl
signs:
- signature: "${artifact}.dmg"
ids: ["macos-amd64", "macos-arm64"]
cmd: gon
args: ["gon.hcl"]
artifacts: all
archives:
- id: binaries
builds: ["iron-macos"]
format: binary
release:
draft: true