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
```
This commit is contained in:
chemotaxis 2021-07-01 03:04:02 -04:00
parent a6710ec506
commit f82750dfe6

View file

@ -64,5 +64,6 @@ nfpms:
formats:
- deb
- rpm
files:
"./share/man/man1/gh*.1": "/usr/share/man/man1"
contents:
- src: "/share/man/man1/gh*.1"
dst: "/usr/share/man/man1"