File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -3,18 +3,13 @@ project_name: mach-composer-plugin-commercetools
33builds :
44 - id : " mach-composer-plugin"
55 main : ./main.go
6- binary : " bin/ {{ .ProjectName }}"
6+ binary : " {{ .ProjectName }}_v{{ .Version }}"
77 flags :
88 - -trimpath
9- - -tags=netgo
109 env :
1110 - CGO_ENABLED=0
12- asmflags :
13- - all=-trimpath={{.Env.GOPATH}}
14- gcflags :
15- - all=-trimpath={{.Env.GOPATH}}
16- ldflags : |
17- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.CommitDate}} -extldflags '-static'
11+ ldflags :
12+ - ' -s -w -X main.version={{.Version}} -X main.commit={{.Commit}}'
1813 goos :
1914 - windows
2015 - linux
@@ -38,7 +33,7 @@ changelog:
3833
3934archives :
4035 - id : " mach-composer-plugin"
41- name_template : " {{ .ProjectName }}-{{ .Version}}-{{ .Os}}-{{.Arch}}{{ if .Arm }}v{{.Arm }}{{ end }}"
42- format : tar.gz
36+ name_template : " {{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
37+ format : zip
4338 files :
4439 - LICENSE
You can’t perform that action at this time.
0 commit comments