1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-09-16 09:26:52 +02:00

removed more deprecated code

This commit is contained in:
Carlos Alexandro Becker
2017-04-21 12:32:34 -03:00
parent 69845c683b
commit f0a7710648

View File

@@ -21,7 +21,6 @@ func (r Repo) String() string {
// Homebrew contains the brew section
type Homebrew struct {
Repo string // deprecated!
GitHub Repo
Folder string
Caveats string
@@ -39,14 +38,13 @@ type Hooks struct {
// Build contains the build configuration section
type Build struct {
Goos []string
Goarch []string
Main string
Ldflags string
Flags string
BinaryName string `yaml:"binary_name"` // deprecated
Binary string
Hooks Hooks
Goos []string
Goarch []string
Main string
Ldflags string
Flags string
Binary string
Hooks Hooks
}
// Archive config used for the archive
@@ -59,7 +57,6 @@ type Archive struct {
// Release config used for the GitHub release
type Release struct {
Repo string // deprecated!
GitHub Repo
}
@@ -71,7 +68,7 @@ type FPM struct {
Options FPMOptions
}
// FPM config options
// FPMOptions config options
type FPMOptions struct {
Vendor string
URL string