File tree 1 file changed +17
-15
lines changed
1 file changed +17
-15
lines changed Original file line number Diff line number Diff line change 1
1
# This is an example goreleaser.yaml file with some sane defaults.
2
2
# Make sure to check the documentation at http://goreleaser.com
3
3
builds :
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'
17
19
checksum :
18
20
name_template : ' checksums.txt'
19
21
snapshot :
@@ -22,5 +24,5 @@ changelog:
22
24
sort : asc
23
25
filters :
24
26
exclude :
25
- - ' ^docs:'
26
- - ' ^test:'
27
+ - ' ^docs:'
28
+ - ' ^test:'
You can’t perform that action at this time.
0 commit comments