Skip to content

Commit 7a5276a

Browse files
committed
Update goreleaser config
1 parent 318420c commit 7a5276a

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.goreleaser.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
version: 2
2+
13
before:
24
hooks:
35
- go mod tidy
@@ -18,17 +20,19 @@ builds:
1820
- arm64
1921

2022
archives:
21-
- format: tgz
22-
name_template: '{{ .ProjectName }}-{{ if eq .Os "darwin" }}macos{{ else }}{{ .Os }}{{ end }}-{{ .Arch }}'
23+
- name_template: '{{ .ProjectName }}-{{ if eq .Os "darwin" }}macos{{ else }}{{ .Os }}{{ end }}-{{ .Arch }}'
2324
wrap_in_directory: migrate-values
2425
files:
2526
- README.md
2627
- plugin.yaml
2728
- LICENSE
29+
format_overrides:
30+
- goos: windows
31+
format: zip
2832

2933
# prefer the changelog by changesets as we are using that
3034
changelog:
3135
disable: true
3236

3337
release:
34-
prerelease: auto
38+
prerelease: auto

0 commit comments

Comments
 (0)