You've already forked goreleaser
mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-11-06 09:09:29 +02:00
fix: deprecation message of nfpm.maintainers
It was saying it should not be used anymore, while it is actually the other way around: it should always be set. closes #3124 Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
@@ -59,7 +59,7 @@ func (Pipe) Default(ctx *context.Context) error {
|
||||
deprecate.Notice(ctx, "nfpms.empty_folders")
|
||||
}
|
||||
if fpm.Maintainer == "" {
|
||||
deprecate.Notice(ctx, "nfpms.maintainer")
|
||||
deprecate.NoticeCustom(ctx, "nfpms.maintainer", "`{{ .Property }}` should always be set, check {{ .URL }} for more info")
|
||||
}
|
||||
ids.Inc(fpm.ID)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user