diff --git a/internal/middleware/logging.go b/internal/middleware/logging.go index 34315a5ff7e..d4a945011fe 100644 --- a/internal/middleware/logging.go +++ b/internal/middleware/logging.go @@ -1,8 +1,6 @@ package middleware import ( - "strings" - "github.com/apex/log" "github.com/apex/log/handlers/cli" "github.com/fatih/color" @@ -30,7 +28,7 @@ func Logging(title string, next Action, padding Padding) Action { cli.Default.Padding = int(DefaultInitialPadding) }() cli.Default.Padding = int(padding) - log.Infof(color.New(color.Bold).Sprint(strings.ToUpper(title))) + log.Infof(color.New(color.Bold).Sprint(title)) cli.Default.Padding = int(padding + DefaultInitialPadding) return next(ctx) } diff --git a/internal/pipe/artifactory/artifactory.go b/internal/pipe/artifactory/artifactory.go index a50e0844069..6fae415c8e7 100644 --- a/internal/pipe/artifactory/artifactory.go +++ b/internal/pipe/artifactory/artifactory.go @@ -40,7 +40,7 @@ type Pipe struct{} // String returns the description of the pipe func (Pipe) String() string { - return "Artifactory" + return "artifactory" } // Default sets the pipe defaults diff --git a/internal/pipe/before/before.go b/internal/pipe/before/before.go index c457d36d035..5b000dbd099 100644 --- a/internal/pipe/before/before.go +++ b/internal/pipe/before/before.go @@ -16,7 +16,7 @@ type Pipe struct{} // String is the name of this pipe func (Pipe) String() string { - return "Running before hooks" + return "running before hooks" } // Run executes the hooks diff --git a/internal/pipe/blob/blob.go b/internal/pipe/blob/blob.go index d3c2c81bf89..3f6260ab4f8 100644 --- a/internal/pipe/blob/blob.go +++ b/internal/pipe/blob/blob.go @@ -15,7 +15,7 @@ type Pipe struct{} // String returns the description of the pipe func (Pipe) String() string { - return "Blob" + return "blobs" } // Default sets the pipe defaults diff --git a/internal/pipe/docker/docker.go b/internal/pipe/docker/docker.go index dc4d818df8a..d166fa36174 100644 --- a/internal/pipe/docker/docker.go +++ b/internal/pipe/docker/docker.go @@ -26,7 +26,7 @@ var ErrNoDocker = errors.New("docker not present in $PATH") type Pipe struct{} func (Pipe) String() string { - return "Docker images" + return "docker images" } // Default sets the pipe defaults diff --git a/internal/pipe/nfpm/nfpm.go b/internal/pipe/nfpm/nfpm.go index 2bff4499547..a68eb18e1c8 100644 --- a/internal/pipe/nfpm/nfpm.go +++ b/internal/pipe/nfpm/nfpm.go @@ -30,7 +30,7 @@ const defaultNameTemplate = "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arc type Pipe struct{} func (Pipe) String() string { - return "Linux packages with nfpm" + return "linux packages" } // Default sets the pipe defaults diff --git a/internal/pipe/release/release.go b/internal/pipe/release/release.go index d8783dc0f8a..f1ff1dd8ded 100644 --- a/internal/pipe/release/release.go +++ b/internal/pipe/release/release.go @@ -26,7 +26,7 @@ var ErrMultipleReleases = errors.New("multiple releases are defined. Only one is type Pipe struct{} func (Pipe) String() string { - return "GitHub/GitLab/Gitea Releases" + return "github/gitlab/gitea releases" } // Default sets the pipe defaults diff --git a/internal/pipe/scoop/scoop.go b/internal/pipe/scoop/scoop.go index 278b08f23ed..7180ec6ed24 100644 --- a/internal/pipe/scoop/scoop.go +++ b/internal/pipe/scoop/scoop.go @@ -25,7 +25,7 @@ var ErrTokenTypeNotImplementedForScoop = errors.New("token type not implemented type Pipe struct{} func (Pipe) String() string { - return "scoop manifest" + return "scoop manifests" } // Publish scoop manifest diff --git a/internal/pipe/semver/semver.go b/internal/pipe/semver/semver.go index 74d05d10478..c02a9fa2fac 100644 --- a/internal/pipe/semver/semver.go +++ b/internal/pipe/semver/semver.go @@ -13,7 +13,7 @@ type Pipe struct{} // String is the name of this pipe func (Pipe) String() string { - return "Parsing tag" + return "parsing tag" } // Run executes the hooks diff --git a/internal/pipe/snapcraft/snapcraft.go b/internal/pipe/snapcraft/snapcraft.go index 41090ac7f98..6c4a9fe6280 100644 --- a/internal/pipe/snapcraft/snapcraft.go +++ b/internal/pipe/snapcraft/snapcraft.go @@ -61,7 +61,7 @@ const defaultNameTemplate = "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arc type Pipe struct{} func (Pipe) String() string { - return "Snapcraft Packages" + return "snapcraft packages" } // Default sets the pipe defaults diff --git a/internal/pipe/upload/upload.go b/internal/pipe/upload/upload.go index cdfb0d4fd09..811f0d5ec18 100644 --- a/internal/pipe/upload/upload.go +++ b/internal/pipe/upload/upload.go @@ -17,7 +17,7 @@ type Pipe struct{} // String returns the description of the pipe func (Pipe) String() string { - return "HTTP Upload" + return "http upload" } // Default sets the pipe defaults