1
1
Fork 0
mirror of https://github.com/goreleaser/nfpm synced 2024-06-10 06:16:12 +02:00

fix: drop defaults for urgency/distribution

Signed-off-by: ArtemTrofimushkin <artemtrofimushkin@gmail.com>
This commit is contained in:
ArtemTrofimushkin 2023-01-31 11:15:25 +03:00
parent 86be75609a
commit f5515f6f25
No known key found for this signature in database
GPG Key ID: FD10C37E3A400D0C

View File

@ -272,15 +272,6 @@ func (*Deb) SetPackagerDefaults(info *nfpm.Info) {
deprecation.Println("Leaving the 'maintainer' field unset will not be allowed in a future version")
info.Maintainer = "Unset Maintainer <unset@localhost>"
}
// Default values for distribution & urgency
// Required only for generating .changes metadata files
if info.Deb.Metadata.Distribution == "" {
info.Deb.Metadata.Distribution = "unstable"
}
if info.Deb.Metadata.Urgency == "" {
info.Deb.Metadata.Urgency = "medium"
}
}
func addArFile(w *ar.Writer, name string, body []byte) error {