Skip to content

Commit ef81712

Browse files
committed
Fix goreleaser config
Signed-off-by: Chris Martin <[email protected]>
1 parent c2f1ef9 commit ef81712

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.goreleaser.yml

+5-7
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
22

33
project_name: armada
4-
4+
version: 2
55
dist: "dist"
66

77
#gomod:
88
# proxy: true
99

1010
snapshot:
11-
name_template: "{{ .FullCommit }}"
11+
version_template: "{{ .FullCommit }}"
1212

1313
env:
1414
- GOPROXY={{ if index .Env "GOPROXY" }}{{ .Env.GOPROXY }}{{ else }}https://proxy.golang.org,direct{{ end }}
@@ -145,15 +145,13 @@ source:
145145
format: "zip"
146146

147147
archives:
148-
- id: armadactl
149-
builds:
150-
- armadactl
148+
- ids: [armadactl]
151149
allow_different_binary_count: true
152150
name_template: 'armadactl_{{ replace .Version "-" "_" }}_{{ .Os }}_{{ .Arch }}'
153-
format: tar.gz
151+
formats: [tar.gz]
154152
format_overrides:
155153
- goos: windows
156-
format: zip
154+
formats: [zip]
157155
files:
158156
- LICENSE
159157
- README.md

0 commit comments

Comments
 (0)