Skip to content

Commit

Permalink
ci: fix goreleaser deprecation warning (#2172)
Browse files Browse the repository at this point in the history
Before:

```console
% goreleaser check
  • checking                                 path=.goreleaser.yml
  • DEPRECATED:  archives.format  should not be used anymore, check https://goreleaser.com/deprecations#archivesformat for more info
  • .goreleaser.yml                                  error=configuration is valid, but uses deprecated properties
  ⨯ command failed                                   error=1 out of 1 configuration file(s) have issues
```

After:

```console
% goreleaser check
  • checking                                 path=.goreleaser.yml
  • 1 configuration file(s) validated
  • thanks for using GoReleaser!
```
  • Loading branch information
jar-b authored Jan 28, 2025
1 parent ab3750b commit dca1f3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ archives:
# Ensure only built binary and license file are archived
- src: LICENSE
dst: LICENSE.txt
format: zip
formats: ['zip']
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
before:
hooks:
Expand Down

0 comments on commit dca1f3a

Please sign in to comment.