Skip to content

Commit e256530

Browse files
committed
chore: update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
1 parent 1fa5961 commit e256530

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

pkg/config/config.go

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -797,6 +797,9 @@ type NFPM struct {
797797
// Pro-only
798798
If string `yaml:"if,omitempty" json:"if,omitempty"`
799799

800+
// v2.14+
801+
GoAmd64 []string `yaml:"goamd64,omitempty" json:"goamd64,omitempty"`
802+
800803
// Deprecated: use [IDs] instead.
801804
Builds []string `yaml:"builds,omitempty" json:"builds,omitempty" jsonschema:"deprecated=true"`
802805
}
@@ -882,7 +885,7 @@ type NFPMDeb struct {
882885
Breaks []string `yaml:"breaks,omitempty" json:"breaks,omitempty"`
883886
Signature NFPMDebSignature `yaml:"signature,omitempty" json:"signature,omitempty"`
884887
Lintian []string `yaml:"lintian_overrides,omitempty" json:"lintian_overrides,omitempty"`
885-
Compression string `yaml:"compression,omitempty" json:"compression,omitempty" jsonschema:"enum=gzip,enum=xz,enum=none,default=gzip"`
888+
Compression string `yaml:"compression,omitempty" json:"compression,omitempty" jsonschema:"enum=gzip,enum=xz,enum=zstd,enum=none,default=gzip"`
886889
Fields map[string]string `yaml:"fields,omitempty" json:"fields,omitempty"`
887890
Predepends []string `yaml:"predepends,omitempty" json:"predepends,omitempty"`
888891
}
@@ -1582,12 +1585,15 @@ type Project struct {
15821585
Monorepo Monorepo `yaml:"monorepo,omitempty" json:"monorepo,omitempty"`
15831586
Partial Partial `yaml:"partial,omitempty" json:"partial,omitempty"`
15841587
Nightly Nightly `yaml:"nightly,omitempty" json:"nightly,omitempty"`
1585-
Furies []Fury `yaml:"furies,omitempty" json:"furies,omitempty"`
1588+
Gemfury []Fury `yaml:"gemfury,omitempty" json:"gemfury,omitempty"`
15861589
Cloudsmiths []Cloudsmith `yaml:"cloudsmiths,omitempty" json:"cloudsmiths,omitempty"`
15871590
DockerHubs []DockerHub `yaml:"dockerhub,omitempty" json:"dockerhub,omitempty"`
15881591
BeforePublish []BeforePublishHook `yaml:"before_publish,omitempty" json:"before_publish,omitempty"`
15891592
TemplateFiles []TemplateFile `yaml:"template_files,omitempty" json:"template_files,omitempty"`
15901593

1594+
// Deprecated: use [Project.Gemfury] instead.
1595+
Furies []Fury `yaml:"furies,omitempty" json:"furies,omitempty" jsonschema:"deprecated=true"`
1596+
15911597
// Deprecated: use [Project.Casks] instead.
15921598
Brews []Homebrew `yaml:"brews,omitempty" json:"brews,omitempty" jsonschema:"deprecated=true"`
15931599

0 commit comments

Comments
 (0)