Skip to content

Commit

Permalink
fix: drop defaults for urgency/distribution
Browse files Browse the repository at this point in the history
Signed-off-by: ArtemTrofimushkin <artemtrofimushkin@gmail.com>
  • Loading branch information
ArtemTrofimushkin committed Jan 31, 2023
1 parent 86be756 commit f5515f6
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions deb/deb.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f5515f6

Please sign in to comment.