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:
parent
86be75609a
commit
f5515f6f25
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue