forked from dev-drprasad/hsk00
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
52 lines (49 loc) · 838 Bytes
/
.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
env:
- GO111MODULE=on
before:
hooks:
- go mod download
- go get github.com/markbates/pkger/cmd/pkger
builds:
- id: cli
env:
- CGO_ENABLED=0
goos:
- darwin
- windows
- linux
goarch:
- amd64
hooks:
pre: pkger -include /assets -o ./cmd/
dir: cmd
main: .
- id : gui
goos:
- darwin
- windows
- linux
goarch:
- amd64
hooks:
pre: pkger -include /assets -o ./gui/
dir: gui
main: .
archives:
- format: binary
name_template: "hsk00-{{ .Os }}-{{ .Arch }}-cli"
id: cli
builds:
- cli
- format: binary
name_template: "hsk00-{{ .Os }}-{{ .Arch }}-gui"
id: gui
builds:
- gui
release:
extra_files:
changelog:
sort: asc
filters:
exclude:
- "^[🔨⏪✅📝🔀 🚧].*"