Skip to content

Commit

Permalink
branch forward: stop on rc
Browse files Browse the repository at this point in the history
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 <pehunt@redhat.com>
  • Loading branch information
haircommander committed Aug 27, 2020
1 parent ff2b2e2 commit 773f6b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release-branch-forward/release_branch_forward.go
Expand Up @@ -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(
Expand Down

0 comments on commit 773f6b0

Please sign in to comment.