mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-02-05 13:15:26 +02:00
feat: update nfpm (#1063)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit is contained in:
parent
c338cfb9a1
commit
56c0cf0699
2
go.mod
2
go.mod
@ -8,7 +8,7 @@ require (
|
||||
github.com/campoy/unique v0.0.0-20180121183637-88950e537e7e
|
||||
github.com/fatih/color v1.7.0
|
||||
github.com/google/go-github/v25 v25.0.1
|
||||
github.com/goreleaser/nfpm v0.11.0
|
||||
github.com/goreleaser/nfpm v0.12.0
|
||||
github.com/imdario/mergo v0.3.6
|
||||
github.com/kamilsk/retry/v4 v4.0.0
|
||||
github.com/mattn/go-colorable v0.0.9 // indirect
|
||||
|
4
go.sum
4
go.sum
@ -101,8 +101,8 @@ github.com/googleapis/gax-go v2.0.2+incompatible h1:silFMLAnr330+NRuag/VjIGF7TLp
|
||||
github.com/googleapis/gax-go v2.0.2+incompatible/go.mod h1:SFVmujtThgffbyetf+mdk2eWhX2bMyUtNHzFKcPA9HY=
|
||||
github.com/googleapis/gax-go/v2 v2.0.4 h1:hU4mGcQI4DaAYW+IbTun+2qEZVFxK0ySjQLTbS0VQKc=
|
||||
github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg=
|
||||
github.com/goreleaser/nfpm v0.11.0 h1:YJ3wyfTJbqHrE3Ym0b4odQYzGuLdemx09wPLafeZAKE=
|
||||
github.com/goreleaser/nfpm v0.11.0/go.mod h1:F2yzin6cBAL9gb+mSiReuXdsfTrOQwDMsuSpULof+y4=
|
||||
github.com/goreleaser/nfpm v0.12.0 h1:2eyO5y6SlnokPZIJN98ewVN45ch0j70WenFE9qWyJpg=
|
||||
github.com/goreleaser/nfpm v0.12.0/go.mod h1:F2yzin6cBAL9gb+mSiReuXdsfTrOQwDMsuSpULof+y4=
|
||||
github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg=
|
||||
github.com/gorilla/mux v1.6.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs=
|
||||
github.com/grpc-ecosystem/grpc-gateway v1.8.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY=
|
||||
|
@ -202,6 +202,7 @@ type NFPMScripts struct {
|
||||
// NFPMOverridables is used to specify per package format settings
|
||||
type NFPMOverridables struct {
|
||||
NameTemplate string `yaml:"name_template,omitempty"`
|
||||
Epoch string `yaml:"epoch,omitempty"`
|
||||
Replacements map[string]string `yaml:",omitempty"`
|
||||
Dependencies []string `yaml:",omitempty"`
|
||||
Recommends []string `yaml:",omitempty"`
|
||||
|
@ -87,6 +87,10 @@ nfpms:
|
||||
# Override default /usr/local/bin destination for binaries
|
||||
bindir: /usr/bin
|
||||
|
||||
# Package epoch.
|
||||
# Defaults to empty.
|
||||
epoch: 1
|
||||
|
||||
# Empty folders that should be created and managed by the packager
|
||||
# implementation.
|
||||
# Default is empty.
|
||||
|
Loading…
x
Reference in New Issue
Block a user