From 9c8e6b63a615803d6112092d999e933f507bddff Mon Sep 17 00:00:00 2001 From: cellarspoon Date: Sun, 19 Dec 2021 23:50:29 +0100 Subject: [PATCH] refactor: match logging for dry run --- cli/recipe/release.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cli/recipe/release.go b/cli/recipe/release.go index 517f9c58..18a61965 100644 --- a/cli/recipe/release.go +++ b/cli/recipe/release.go @@ -186,7 +186,7 @@ You may invoke this command in "wizard" mode and be prompted for input: tagString = fmt.Sprintf("%s+%s", tag.String(), mainAppVersion) if internal.Dry { hash := abraFormatter.SmallSHA(head.Hash().String()) - logrus.Info(fmt.Sprintf("dry run only: NOT creating tag %s at %s", tagString, hash)) + logrus.Info(fmt.Sprintf("dry run: not creating tag %s at %s", tagString, hash)) return nil } @@ -199,7 +199,7 @@ You may invoke this command in "wizard" mode and be prompted for input: } logrus.Info(fmt.Sprintf("pushed tag %s to remote", tagString)) } else { - logrus.Info("dry run only: NOT pushing changes") + logrus.Info("dry run: no changes pushed") } return nil @@ -261,7 +261,7 @@ You may invoke this command in "wizard" mode and be prompted for input: newtagString = newTag.String() if internal.Dry { hash := abraFormatter.SmallSHA(head.Hash().String()) - logrus.Info(fmt.Sprintf("dry run only: NOT creating tag %s at %s", newtagString, hash)) + logrus.Info(fmt.Sprintf("dry run: not creating tag %s at %s", newtagString, hash)) return nil } @@ -274,7 +274,7 @@ You may invoke this command in "wizard" mode and be prompted for input: } logrus.Info(fmt.Sprintf("pushed tag %s to remote", newtagString)) } else { - logrus.Info("gry run only: NOT pushing changes") + logrus.Info("dry run: no changes pushed") } return nil