X Tutup
Skip to content

Commit f82750d

Browse files
committed
Update goreleaser config
`nfpms.files` is deprecated: <https://goreleaser.com/deprecations/#nfpmsfiles> ```shell goreleaser version 0.172.1 commit: 32a44ab928879bb32c1e266b80de32e07d5d6721 ``` Before this commit, `goreleaser check` prints this: ```shell $goreleaser check • loading config file file=.goreleaser.yml ⨯ command failed error=yaml: unmarshal errors: line 67: field files not found in type config.NFPM ```
1 parent a6710ec commit f82750d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.goreleaser.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,6 @@ nfpms:
6464
formats:
6565
- deb
6666
- rpm
67-
files:
68-
"./share/man/man1/gh*.1": "/usr/share/man/man1"
67+
contents:
68+
- src: "/share/man/man1/gh*.1"
69+
dst: "/usr/share/man/man1"

0 commit comments

Comments
 (0)
X Tutup