From 773f6b0b5eddf3716e6055484dabef4ef493fb9d Mon Sep 17 00:00:00 2001 From: Peter Hunt Date: Thu, 27 Aug 2020 14:30:27 -0400 Subject: [PATCH] branch forward: stop on rc turns out, it is a nice feature to stop the fast forward on a release candidate. return to this behavior Signed-off-by: Peter Hunt --- scripts/release-branch-forward/release_branch_forward.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/release-branch-forward/release_branch_forward.go b/scripts/release-branch-forward/release_branch_forward.go index 2e2d98d8d41..b817430b198 100644 --- a/scripts/release-branch-forward/release_branch_forward.go +++ b/scripts/release-branch-forward/release_branch_forward.go @@ -73,7 +73,7 @@ func run() error { tagPrefix := strings.TrimPrefix(latestReleaseBranch, releaseBranchPrefix) lsRemoteTags, err := command. New(git, "ls-remote", "--sort=v:refname", "--tags", remote). - Pipe(grep, "-Eo", "v"+tagPrefix+".[0-9]*$"). + Pipe(grep, "v"+tagPrefix). RunSilentSuccessOutput() if err == nil { logrus.Warnf(