You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# The depends override can for example be used to provide version
# constraints for dependencies where different package formats use
# different versions or for dependencies that are named differently.
deb:
depends:
- baz (>= 1.2.3-0)
- some-lib-dev
# ...
rpm:
depends:
- baz >= 1.2.3-0
- some-lib-devel
# ...
goreleaser version
$ goreleaser -v
goreleaser version 1.14.1
commit: 7be70934534b5c9798b6ab1b7b3e5c35df7e8b2e
built at: 2023-01-02T13:53:59Z
built by: goreleaser
goos: linux
goarch: amd64
module version: v1.14.1, checksum: h1:b+cW4BSDL5Ii32scSX8IoXrnpwHIItXgZyMskBhNK8s=
https://goreleaser.com
root@42040088c796:/go/src/github.com/smallstep/step-kms-plugin# goreleaser --version
goreleaser version 1.14.1
commit: 7be70934534b5c9798b6ab1b7b3e5c35df7e8b2e
built at: 2023-01-02T13:53:59Z
built by: goreleaser
goos: linux
goarch: amd64
module version: v1.14.1, checksum: h1:b+cW4BSDL5Ii32scSX8IoXrnpwHIItXgZyMskBhNK8s=
https://goreleaser.com
GoReleaser Check
goreleaser check shows no errors
Search
I did search for other open and closed issues before opening this.
Code of Conduct
I agree to follow this project's Code of Conduct
Additional context
goreleaser check shows the same error, but I cannot submit this without checking that box, it is required:
$ goreleaser check • loading config file file=.goreleaser.yml ⨯ command failed error=yaml: unmarshal errors: line 127: field depends not found in type config.NFPMOverridables line 130: field depends not found in type config.NFPMOverridables
The text was updated successfully, but these errors were encountered:
What happened?
The last version of GoReleaser (1.14.1) fails if we add an override like this in the nfpms section:
The message displayed looks like this:
Using
dependencies
instead ofdepends
works as expected.How can we reproduce this?
Use
depends
as is documented atgoreleaser/www/docs/customization/nfpm.md
Lines 239 to 252 in c747445
goreleaser version
GoReleaser Check
Search
Code of Conduct
Additional context
goreleaser check
shows the same error, but I cannot submit this without checking that box, it is required:The text was updated successfully, but these errors were encountered: