File tree Expand file tree Collapse file tree 1 file changed +17
-15
lines changed
Expand file tree Collapse file tree 1 file changed +17
-15
lines changed Original file line number Diff line number Diff line change 11# This is an example goreleaser.yaml file with some sane defaults.
22# Make sure to check the documentation at http://goreleaser.com
33builds :
4- - env :
5- - CGO_ENABLED=0
6- ldflags :
7- - -s -w -X github.com/bakito/toolbox/version.Version=v{{.Version}}
8- goos :
9- - linux
10- - windows
11- # - darwin
12- goarch :
13- # - 386
14- - amd64
15- hooks :
16- post : upx {{ .Path }}
4+ - env :
5+ - CGO_ENABLED=0
6+ ldflags :
7+ - -s -w -X github.com/bakito/toolbox/version.Version=v{{.Version}}
8+ goos :
9+ - linux
10+ - windows
11+ # - darwin
12+ goarch :
13+ # - 386
14+ - amd64
15+ hooks :
16+ post :
17+ # don't upx windows binaries as they make trouble with virus scanners
18+ - bash -c 'if [[ "{{ .Path }}" != *.exe ]]; then upx {{ .Path }}; fi'
1719checksum :
1820 name_template : ' checksums.txt'
1921snapshot :
@@ -22,5 +24,5 @@ changelog:
2224 sort : asc
2325 filters :
2426 exclude :
25- - ' ^docs:'
26- - ' ^test:'
27+ - ' ^docs:'
28+ - ' ^test:'
You can’t perform that action at this time.
0 commit comments