mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-17 20:47:50 +02:00
fix: removed uneeded docs
We use fmt.Stringer now
This commit is contained in:
parent
208ab4df23
commit
44d01ceccb
@ -19,7 +19,6 @@ import (
|
||||
// Pipe for archive
|
||||
type Pipe struct{}
|
||||
|
||||
// Description of the pipe
|
||||
func (Pipe) String() string {
|
||||
return "creating archives"
|
||||
}
|
||||
|
@ -28,7 +28,6 @@ const platform = "darwinamd64"
|
||||
// Pipe for brew deployment
|
||||
type Pipe struct{}
|
||||
|
||||
// Description of the pipe
|
||||
func (Pipe) String() string {
|
||||
return "creating homebrew formula"
|
||||
}
|
||||
|
@ -18,7 +18,6 @@ import (
|
||||
// Pipe for build
|
||||
type Pipe struct{}
|
||||
|
||||
// Description of the pipe
|
||||
func (Pipe) String() string {
|
||||
return "building binaries"
|
||||
}
|
||||
|
@ -19,7 +19,6 @@ var ErrInvalidSortDirection = errors.New("invalid sort direction")
|
||||
// Pipe for checksums
|
||||
type Pipe struct{}
|
||||
|
||||
// Description of the pipe
|
||||
func (Pipe) String() string {
|
||||
return "generating changelog"
|
||||
}
|
||||
|
@ -16,7 +16,6 @@ import (
|
||||
// Pipe for checksums
|
||||
type Pipe struct{}
|
||||
|
||||
// Description of the pipe
|
||||
func (Pipe) String() string {
|
||||
return "calculating checksums"
|
||||
}
|
||||
|
@ -14,7 +14,6 @@ import (
|
||||
// Pipe for cleandis
|
||||
type Pipe struct{}
|
||||
|
||||
// Description of the pipe
|
||||
func (Pipe) String() string {
|
||||
return "checking ./dist"
|
||||
}
|
||||
|
@ -19,7 +19,6 @@ import (
|
||||
// Pipe for brew deployment
|
||||
type Pipe struct{}
|
||||
|
||||
// Description of the pipe
|
||||
func (Pipe) String() string {
|
||||
return "setting defaults for:"
|
||||
}
|
||||
|
@ -20,7 +20,6 @@ var ErrNoDocker = errors.New("docker not present in $PATH")
|
||||
// Pipe for docker
|
||||
type Pipe struct{}
|
||||
|
||||
// Description of the pipe
|
||||
func (Pipe) String() string {
|
||||
return "creating Docker images"
|
||||
}
|
||||
|
1
pipeline/env/env.go
vendored
1
pipeline/env/env.go
vendored
@ -16,7 +16,6 @@ var ErrMissingToken = errors.New("missing GITHUB_TOKEN")
|
||||
// Pipe for env
|
||||
type Pipe struct{}
|
||||
|
||||
// Description of the pipe
|
||||
func (Pipe) String() string {
|
||||
return "loading environment variables"
|
||||
}
|
||||
|
@ -22,7 +22,6 @@ var ErrNoFPM = errors.New("fpm not present in $PATH")
|
||||
// Pipe for fpm packaging
|
||||
type Pipe struct{}
|
||||
|
||||
// Description of the pipe
|
||||
func (Pipe) String() string {
|
||||
return "creating Linux packages with fpm"
|
||||
}
|
||||
|
@ -19,7 +19,6 @@ import (
|
||||
// Pipe for brew deployment
|
||||
type Pipe struct{}
|
||||
|
||||
// Description of the pipe
|
||||
func (Pipe) String() string {
|
||||
return "getting and validating git state"
|
||||
}
|
||||
|
@ -7,7 +7,7 @@ import (
|
||||
"github.com/goreleaser/goreleaser/context"
|
||||
)
|
||||
|
||||
// Piper interface
|
||||
// Piper defines a pipe, which can be part of a pipeline (a serie of pipes).
|
||||
type Piper interface {
|
||||
fmt.Stringer
|
||||
|
||||
|
@ -16,7 +16,6 @@ import (
|
||||
// Pipe for github release
|
||||
type Pipe struct{}
|
||||
|
||||
// Description of the pipe
|
||||
func (Pipe) String() string {
|
||||
return "releasing to GitHub"
|
||||
}
|
||||
|
@ -49,7 +49,6 @@ type AppMetadata struct {
|
||||
// Pipe for snapcraft packaging
|
||||
type Pipe struct{}
|
||||
|
||||
// Description of the pipe
|
||||
func (Pipe) String() string {
|
||||
return "creating Linux packages with snapcraft"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user