mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-08 03:31:59 +02:00
chore: update nfpm (#647)
This commit is contained in:
parent
65ff5b771b
commit
5a3e3e5ab8
12
Gopkg.lock
generated
12
Gopkg.lock
generated
@ -97,8 +97,14 @@
|
||||
"glob",
|
||||
"rpm"
|
||||
]
|
||||
revision = "3c679196cdf0e95cb23e307ee903fd81aec1579d"
|
||||
version = "v0.7.2"
|
||||
revision = "651ac59abfff6ffc1c96ff87851038f35e4ad2a4"
|
||||
version = "v0.8.1"
|
||||
|
||||
[[projects]]
|
||||
name = "github.com/imdario/mergo"
|
||||
packages = ["."]
|
||||
revision = "9d5f1277e9a8ed20c3684bda8fde67c05628518c"
|
||||
version = "v0.3.4"
|
||||
|
||||
[[projects]]
|
||||
name = "github.com/masterminds/semver"
|
||||
@ -207,6 +213,6 @@
|
||||
[solve-meta]
|
||||
analyzer-name = "dep"
|
||||
analyzer-version = 1
|
||||
inputs-digest = "706366379db14a54b10afe7d89030cc1c235e91c7dc3313421ccf5db4cf4ddce"
|
||||
inputs-digest = "d7be0f4be72b68e90e9ab88fd2dedb81fd687d09309e5855e8a928a11c76d35e"
|
||||
solver-name = "gps-cdcl"
|
||||
solver-version = 1
|
||||
|
@ -48,7 +48,7 @@
|
||||
|
||||
[[constraint]]
|
||||
name = "github.com/goreleaser/nfpm"
|
||||
version = "~0.7.0"
|
||||
version = "~0.8.0"
|
||||
|
||||
[[constraint]]
|
||||
name = "github.com/alecthomas/kingpin"
|
||||
|
@ -103,10 +103,6 @@ func create(ctx *context.Context, format, arch string, binaries []artifact.Artif
|
||||
var info = nfpm.Info{
|
||||
Arch: arch,
|
||||
Platform: "linux",
|
||||
Conflicts: ctx.Config.NFPM.Conflicts,
|
||||
Depends: ctx.Config.NFPM.Dependencies,
|
||||
Recommends: ctx.Config.NFPM.Recommends,
|
||||
Suggests: ctx.Config.NFPM.Suggests,
|
||||
Name: ctx.Config.ProjectName,
|
||||
Version: ctx.Git.CurrentTag,
|
||||
Section: "",
|
||||
@ -117,13 +113,19 @@ func create(ctx *context.Context, format, arch string, binaries []artifact.Artif
|
||||
Homepage: ctx.Config.NFPM.Homepage,
|
||||
License: ctx.Config.NFPM.License,
|
||||
Bindir: ctx.Config.NFPM.Bindir,
|
||||
Files: files,
|
||||
ConfigFiles: ctx.Config.NFPM.ConfigFiles,
|
||||
Scripts: nfpm.Scripts{
|
||||
PreInstall: ctx.Config.NFPM.Scripts.PreInstall,
|
||||
PostInstall: ctx.Config.NFPM.Scripts.PostInstall,
|
||||
PreRemove: ctx.Config.NFPM.Scripts.PreRemove,
|
||||
PostRemove: ctx.Config.NFPM.Scripts.PostRemove,
|
||||
Overridables: nfpm.Overridables{
|
||||
Conflicts: ctx.Config.NFPM.Conflicts,
|
||||
Depends: ctx.Config.NFPM.Dependencies,
|
||||
Recommends: ctx.Config.NFPM.Recommends,
|
||||
Suggests: ctx.Config.NFPM.Suggests,
|
||||
Files: files,
|
||||
ConfigFiles: ctx.Config.NFPM.ConfigFiles,
|
||||
Scripts: nfpm.Scripts{
|
||||
PreInstall: ctx.Config.NFPM.Scripts.PreInstall,
|
||||
PostInstall: ctx.Config.NFPM.Scripts.PostInstall,
|
||||
PreRemove: ctx.Config.NFPM.Scripts.PreRemove,
|
||||
PostRemove: ctx.Config.NFPM.Scripts.PostRemove,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user