goreleaser / nfpm

nFPM is Not FPM - a simple deb, rpm, apk, ipk, and arch linux packager written in Go
https://nfpm.goreleaser.com/
MIT License
2.14k stars 157 forks source link

schema.json file is missing #653

Closed gesquive closed 1 year ago

gesquive commented 1 year ago

What happened?

followed the documentation and tried to use the jsonschema file at https://nfpm.goreleaser.com/schema.json. That URL just returns a 404.

How can we reproduce this?

Use curl: curl -I https://nfpm.goreleaser.com/schema.json

nfpm version

v2.28.0

Search

Code of Conduct

Additional context

No response

gesquive commented 1 year ago

I took a quick look at the documentation build process, and it looks like the correct URL is https://nfpm.goreleaser.com/static/schema.json. I'm not sure how to move that file into the right location for it to be at https://nfpm.goreleaser.com/schema.json

caarlos0 commented 1 year ago

oh, it was always located in /static/schema.json, I think the bug is in the docs, pointing out to the wrong URL...

caarlos0 commented 1 year ago

fixed, thanks for reporting!