Skip to content

Commit 9002dc9

Browse files
committed
chore: update .goreleaser.yml to v2
- Updates `.goreleaser.yml` to v2 configuration and addresses deprecations. - Adds `vendor` and `license` to `nfpms` configuration. Signed-off-by: Ryan Johnson <[email protected]>
1 parent d62c8e9 commit 9002dc9

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.goreleaser.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
version: 2
23
project_name: govmomi
34

45
builds:
@@ -37,7 +38,9 @@ builds:
3738

3839
nfpms:
3940
- package_name: govmomi
40-
builds:
41+
vendor: Broadcom
42+
license: Apache 2.0
43+
ids:
4144
- govc
4245
- vcsim
4346
homepage: https://github.com/vmware/govmomi
@@ -49,7 +52,7 @@ nfpms:
4952

5053
archives:
5154
- id: govcbuild
52-
builds:
55+
ids:
5356
- govc
5457
name_template: >-
5558
govc_
@@ -59,14 +62,14 @@ archives:
5962
{{- else }}{{ .Arch }}{{ end }}
6063
format_overrides: &overrides
6164
- goos: windows
62-
format: zip
65+
formats:
66+
- zip
6367
files: &extrafiles
6468
- CHANGELOG.md
6569
- LICENSE.txt
6670
- README.md
67-
6871
- id: vcsimbuild
69-
builds:
72+
ids:
7073
- vcsim
7174
name_template: >-
7275
vcsim_
@@ -78,7 +81,7 @@ archives:
7881
files: *extrafiles
7982

8083
snapshot:
81-
name_template: "{{ .Tag }}-next"
84+
version_template: "{{ .Tag }}-next"
8285

8386
checksum:
8487
name_template: "checksums.txt"

0 commit comments

Comments
 (0)