File tree Expand file tree Collapse file tree 1 file changed +25
-11
lines changed Expand file tree Collapse file tree 1 file changed +25
-11
lines changed Original file line number Diff line number Diff line change 1+ project_name : gist
2+ env :
3+ - GO111MODULE=on
4+ before :
5+ hooks :
6+ - go mod tidy
17builds :
2- - binary : iap_curl
8+ - main : .
9+ binary : iap_curl
310 goos :
411 - darwin
512 - linux
613 goarch :
714 - amd64
8- ldflags :
9- - -X main.Version={{.Version}}
10- archive :
11- format : zip
12- name_template : " {{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
13- files :
14- - README.md
15+ ldflags :
16+ - -s -w
17+ - -X main.Version={{.Version}}
18+ env :
19+ - CGO_ENABLED=0
20+ archives :
21+ - name_template : ' {{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
22+ replacements :
23+ darwin : darwin
24+ linux : linux
25+ windows : windows
26+ 386 : i386
27+ amd64 : x86_64
28+ format_overrides :
29+ - goos : windows
30+ format : zip
1531release :
16- github :
17- owner : b4b4r07
18- name : iap_curl
32+ prerelease : auto
You can’t perform that action at this time.
0 commit comments