diff --git a/merge_helpers.sh b/merge_helpers.sh index 87cc0e7d7b..fcbade32fa 100755 --- a/merge_helpers.sh +++ b/merge_helpers.sh @@ -28,7 +28,7 @@ upstream_latest_tag() { upstream_previous_tag() { #git describe --abbrev=0 `upstream_latest_tag`~1 --tags #downstream_latest_tag | sed 's|sc_\(v.*\).sc.*|\1|' - git log | grep "Merge tag 'v.*' into sc" | head -n 1 |sed "s|.*Merge tag '\\(v.*\\)' into sc|\1|" + git log | grep "Merge tag 'v.*' into " | head -n 1 |sed "s|.*Merge tag '\\(v.*\\)' into .*|\1|" } downstream_latest_tag() { local commit="HEAD"