From e4cd4cab84cc5c55a8ae623d6392359699e8d1ca Mon Sep 17 00:00:00 2001 From: Aaron Gable Date: Fri, 17 Mar 2023 11:31:27 -0700 Subject: [PATCH] Add some vertical whitespace to output --- tools/release.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/release.go b/tools/release.go index 14ef86fcf05..1efbe9b8e36 100644 --- a/tools/release.go +++ b/tools/release.go @@ -25,7 +25,7 @@ func runOrDie(cmd *exec.Cmd) string { fmt.Println(cmd.String()) out, err := cmd.CombinedOutput() if err != nil { - fmt.Print(string(out)) + fmt.Println(string(out)) fmt.Println(err) os.Exit(1) } @@ -65,7 +65,7 @@ func release() { // Show the result of the tagging operation, including the tag message and // signature, and the commit hash and message, but not the diff. show := runOrDie(exec.Command("git", "show", "-s", version)) - fmt.Print(show) + fmt.Println(show) if push { runOrDie(exec.Command("git", "push", "origin", version)) @@ -140,7 +140,7 @@ func hotfix() { // Show the result of the tagging operation, including the tag message and // signature, and the commit hash and message, but not the diff. show := runOrDie(exec.Command("git", "show", "-s", version)) - fmt.Print(show) + fmt.Println(show) // Compute the name of the release branch that will contain the cherry-picked // commits. This branch may or may not exist already, and it doesn't matter: