diff --git a/pipeline/archive/archive.go b/pipeline/archive/archive.go index f57ff2d3c..25a313683 100644 --- a/pipeline/archive/archive.go +++ b/pipeline/archive/archive.go @@ -19,7 +19,6 @@ import ( // Pipe for archive type Pipe struct{} -// Description of the pipe func (Pipe) String() string { return "creating archives" } diff --git a/pipeline/brew/brew.go b/pipeline/brew/brew.go index 8be664de7..8c1d82540 100644 --- a/pipeline/brew/brew.go +++ b/pipeline/brew/brew.go @@ -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" } diff --git a/pipeline/build/build.go b/pipeline/build/build.go index 63bef3881..1aef8e5a1 100644 --- a/pipeline/build/build.go +++ b/pipeline/build/build.go @@ -18,7 +18,6 @@ import ( // Pipe for build type Pipe struct{} -// Description of the pipe func (Pipe) String() string { return "building binaries" } diff --git a/pipeline/changelog/changelog.go b/pipeline/changelog/changelog.go index b1507567e..d3b79dcd9 100644 --- a/pipeline/changelog/changelog.go +++ b/pipeline/changelog/changelog.go @@ -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" } diff --git a/pipeline/checksums/checksums.go b/pipeline/checksums/checksums.go index b0480c885..5051c66be 100644 --- a/pipeline/checksums/checksums.go +++ b/pipeline/checksums/checksums.go @@ -16,7 +16,6 @@ import ( // Pipe for checksums type Pipe struct{} -// Description of the pipe func (Pipe) String() string { return "calculating checksums" } diff --git a/pipeline/cleandist/dist.go b/pipeline/cleandist/dist.go index 7bbc1f7da..412d6ac78 100644 --- a/pipeline/cleandist/dist.go +++ b/pipeline/cleandist/dist.go @@ -14,7 +14,6 @@ import ( // Pipe for cleandis type Pipe struct{} -// Description of the pipe func (Pipe) String() string { return "checking ./dist" } diff --git a/pipeline/defaults/defaults.go b/pipeline/defaults/defaults.go index 5d7609a17..c1e69cd76 100644 --- a/pipeline/defaults/defaults.go +++ b/pipeline/defaults/defaults.go @@ -19,7 +19,6 @@ import ( // Pipe for brew deployment type Pipe struct{} -// Description of the pipe func (Pipe) String() string { return "setting defaults for:" } diff --git a/pipeline/docker/docker.go b/pipeline/docker/docker.go index 8963bfe92..f7be0fa24 100644 --- a/pipeline/docker/docker.go +++ b/pipeline/docker/docker.go @@ -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" } diff --git a/pipeline/env/env.go b/pipeline/env/env.go index 8cf9df52f..1e199eb37 100644 --- a/pipeline/env/env.go +++ b/pipeline/env/env.go @@ -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" } diff --git a/pipeline/fpm/fpm.go b/pipeline/fpm/fpm.go index 00909e09d..141367cec 100644 --- a/pipeline/fpm/fpm.go +++ b/pipeline/fpm/fpm.go @@ -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" } diff --git a/pipeline/git/git.go b/pipeline/git/git.go index 08f7aeca9..ce514099c 100644 --- a/pipeline/git/git.go +++ b/pipeline/git/git.go @@ -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" } diff --git a/pipeline/piper.go b/pipeline/piper.go index 676c7922b..767250b50 100644 --- a/pipeline/piper.go +++ b/pipeline/piper.go @@ -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 diff --git a/pipeline/release/release.go b/pipeline/release/release.go index c0df9b0df..6644a3bab 100644 --- a/pipeline/release/release.go +++ b/pipeline/release/release.go @@ -16,7 +16,6 @@ import ( // Pipe for github release type Pipe struct{} -// Description of the pipe func (Pipe) String() string { return "releasing to GitHub" } diff --git a/pipeline/snapcraft/snapcraft.go b/pipeline/snapcraft/snapcraft.go index 46ae91626..001dd7eba 100644 --- a/pipeline/snapcraft/snapcraft.go +++ b/pipeline/snapcraft/snapcraft.go @@ -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" }