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.13k stars 157 forks source link

fix(deb): blank line in package description #742

Closed abemedia closed 9 months ago

abemedia commented 9 months ago

Blank lines in the deb's control file description are valid but need to be encoded with a space followed by a dot (.).

See https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-description.

Those containing a single space followed by a single full stop character. These are rendered as blank lines. This is the only way to get a blank line.

I used nfpm to package one of my apps and it was broken as it did not add the dots onto the blank lines. This PR fixes that.

caarlos0 commented 9 months ago

Thank you 🙏