File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -5,21 +5,29 @@ builds:
5
5
ldflags :
6
6
- -s
7
7
- -w
8
- - -X main.version={{.Version }}
8
+ - -X main.version={{.Tag }}
9
9
- -X main.gitHash={{.FullCommit}}
10
10
- -X main.buildDate={{.Date}}
11
11
goos :
12
12
- linux
13
- - windows
14
13
- darwin
14
+ - windows
15
15
goarch :
16
16
- amd64
17
+ - arm
18
+ - arm64
19
+ goarm :
20
+ - 6
21
+ - 7
17
22
main : ./cmd/netassert/cli/
18
23
binary : netassert
19
24
archives :
20
25
- id : netassert
21
- name_template : " {{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
26
+ name_template : " {{ .ProjectName }}_{{ .Tag }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
22
27
format : tar.gz
28
+ format_overrides :
29
+ - goos : windows
30
+ format : zip
23
31
files :
24
32
- LICENSE
25
33
wrap_in_directory : false
32
40
- id : archive
33
41
artifacts : archive
34
42
- id : source
35
- artifacts : source
43
+ artifacts : source
You can’t perform that action at this time.
0 commit comments