1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +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
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

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