merge_helpers.sh: Fix downstream_latest_tag after introducing sc_last

Change-Id: I558633e54c445770ef9d99ce42286f208edbb15d
This commit is contained in:
SpiritCroc 2022-11-29 09:18:59 +01:00
parent 9c2dcb9233
commit c8c82d40dd

View file

@ -100,7 +100,7 @@ downstream_latest_tag() {
local commit="HEAD"
while true; do
local tag=`git describe --abbrev=0 "$commit" --tags`
if [[ "$tag" =~ "sc_" ]]; then
if [[ "$tag" =~ "sc_v" ]]; then
echo "$tag"
break
else