1
0
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:
Carlos A Becker
2022-05-24 09:12:10 -03:00
parent 08769d7372
commit 38c5e6a371

View File

@@ -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)
}