diff --git a/internal/task/bump/bump.go b/internal/task/bump/bump.go index e9d28d55..bb2b73fb 100644 --- a/internal/task/bump/bump.go +++ b/internal/task/bump/bump.go @@ -23,8 +23,6 @@ SOFTWARE. package bump import ( - "fmt" - "github.com/apex/log" "github.com/gembaadvantage/uplift/internal/context" "github.com/gembaadvantage/uplift/internal/git" @@ -87,9 +85,6 @@ func (t Task) Run(ctx *context.Context) error { continue } - fmt.Println("About to stage file at path") - fmt.Println(resolvedBump) - if err := git.Stage(resolvedBump); err != nil { return err } diff --git a/internal/task/bump/bump_test.go b/internal/task/bump/bump_test.go index e8dcb842..86985935 100644 --- a/internal/task/bump/bump_test.go +++ b/internal/task/bump/bump_test.go @@ -23,7 +23,6 @@ SOFTWARE. package bump import ( - "fmt" "os" "path/filepath" "testing" @@ -49,8 +48,6 @@ func TestRun_NotGitRepository(t *testing.T) { git.MkTmpDir(t) file := WriteTempFile(t, "version: 0.1.0") - fmt.Println(file) - ctx := &context.Context{ NextVersion: semver.Version{ Raw: "0.1.1", diff --git a/internal/task/bump/regex.go b/internal/task/bump/regex.go index fa90c215..5dc05daf 100644 --- a/internal/task/bump/regex.go +++ b/internal/task/bump/regex.go @@ -24,7 +24,6 @@ package bump import ( "errors" - "fmt" "os" "regexp" "strings" @@ -93,9 +92,6 @@ func regexBump(ctx *context.Context, path string, bumps []config.RegexBump) (boo return false, nil } - fmt.Println("Writing to file at path") - fmt.Println(path) - return true, os.WriteFile(path, []byte(str), 0o644) } diff --git a/internal/task/bump/regex_test.go b/internal/task/bump/regex_test.go index 1208ee10..69ea00b0 100644 --- a/internal/task/bump/regex_test.go +++ b/internal/task/bump/regex_test.go @@ -544,8 +544,6 @@ description: This is a test chart version: 0.1.0 appVersion: v0.1.0`) - fmt.Println(file) - ctx := &context.Context{ NextVersion: semver.Version{ Raw: "v0.1.1",