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:
55 ldflags :
66 - -s
77 - -w
8- - -X main.version={{.Version }}
8+ - -X main.version={{.Tag }}
99 - -X main.gitHash={{.FullCommit}}
1010 - -X main.buildDate={{.Date}}
1111 goos :
1212 - linux
13- - windows
1413 - darwin
14+ - windows
1515 goarch :
1616 - amd64
17+ - arm
18+ - arm64
19+ goarm :
20+ - 6
21+ - 7
1722 main : ./cmd/netassert/cli/
1823 binary : netassert
1924archives :
2025- id : netassert
21- name_template : " {{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
26+ name_template : " {{ .ProjectName }}_{{ .Tag }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
2227 format : tar.gz
28+ format_overrides :
29+ - goos : windows
30+ format : zip
2331 files :
2432 - LICENSE
2533 wrap_in_directory : false
3240 - id : archive
3341 artifacts : archive
3442 - id : source
35- artifacts : source
43+ artifacts : source
You can’t perform that action at this time.
0 commit comments