File tree Expand file tree Collapse file tree 1 file changed +16
-9
lines changed
Expand file tree Collapse file tree 1 file changed +16
-9
lines changed Original file line number Diff line number Diff line change 33before :
44 hooks :
55 - go mod tidy
6+ release :
7+ draft : true
8+ name_template : " {{.ProjectName}}-{{.Tag}}"
69builds :
7- - id : nowin
10+ - id : console
811 main : ./service/gmc
912 env :
1013 - CGO_ENABLED=0
1114 - GO111MODULE=on
1215 goos :
1316 - linux
1417 - darwin
18+ - windows
1519 goarch :
1620 - 386
1721 - amd64
@@ -24,6 +28,10 @@ builds:
2428 goarch : arm
2529 - goos : darwin
2630 goarch : 386
31+ - goos : windows
32+ goarch : arm
33+ - goos : windows
34+ goarch : arm64
2735 mod_timestamp : " {{ .CommitTimestamp }}"
2836 flags :
2937 - -trimpath
@@ -32,7 +40,7 @@ builds:
3240 hooks :
3341 post :
3442 - upx "{{ .Path }}"
35- - id : win
43+ - id : lorca
3644 main : ./service/gmc_lorca
3745 env :
3846 - CGO_ENABLED=0
@@ -56,21 +64,20 @@ checksum:
5664changelog :
5765 skip : true
5866archives :
59- - id : binary
67+ - id : lorca
6068 builds :
61- - win
62- name_template : " {{ .ProjectName }}_ {{ .Tag }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
69+ - lorca
70+ name_template : " {{ .ProjectName }}_lorca_ {{ .Tag }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
6371 format_overrides :
6472 - goos : windows
6573 format : binary
66- - id : nowin
74+ - id : console
6775 builds :
68- - nowin
69- - win
76+ - console
7077 name_template : " {{ .ProjectName }}_{{ .Tag }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
7178 format_overrides :
7279 - goos : windows
73- format : zip
80+ format : binary
7481
7582nfpms :
7683 - license : AGPL 3.0
You can’t perform that action at this time.
0 commit comments