Skip to content

Commit af52c4b

Browse files
committed
Update GoReleaser config to not use deprecated options
1 parent efdad29 commit af52c4b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.goreleaser.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ builds:
8989
# builds into separate archives.
9090
archives:
9191
- id: pelican
92-
builds:
92+
ids:
9393
- pelican
9494
name_template: >-
9595
{{ .ProjectName }}_
@@ -98,7 +98,7 @@ archives:
9898
{{- else }}{{ .Arch }}{{ end }}
9999
format_overrides:
100100
- goos: windows
101-
format: zip
101+
formats: [zip]
102102
wrap_in_directory: '{{ .ProjectName }}-{{ trimsuffix .Version "-next" }}'
103103
- id: pelican-server
104104
builds:
@@ -125,9 +125,9 @@ changelog:
125125
nfpms:
126126
- &package-pelican
127127
id: pelican
128-
package_name: pelican
129-
builds:
128+
ids:
130129
- pelican
130+
package_name: pelican
131131
# Note that git tags like v7.0.0-rc.1 will be modified by goreleaser when building
132132
# rpms to be v7.0.0~rc.1-1. The tilde is a special character in RPM versioning that
133133
# signifies some version substring should be sorted as less than the rest of the version,

0 commit comments

Comments
 (0)