diff options
author | Zuul <zuul@review.opendev.org> | 2023-05-11 22:40:47 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2023-05-11 22:40:47 +0000 |
commit | ca3616f6794790d0b701c3cee088bc35d5dcea8b (patch) | |
tree | e2f37f18a5597539c11ed2bebdc94d004f3c8a37 | |
parent | 3b84421c6ccadb69ab7e3ead3550931f20db2ec4 (diff) | |
parent | abd9a34a6014730620cee15a44f328e48e57398e (diff) | |
download | nova-ca3616f6794790d0b701c3cee088bc35d5dcea8b.tar.gz |
Merge "CI: fix backport validator for new branch naming" into stable/zed
-rwxr-xr-x | tools/check-cherry-picks.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/check-cherry-picks.sh b/tools/check-cherry-picks.sh index 46cef8c225..3042aa1659 100755 --- a/tools/check-cherry-picks.sh +++ b/tools/check-cherry-picks.sh @@ -23,7 +23,7 @@ hashes=$(git show --format='%b' --quiet $commit_hash | sed -nr 's/^.cherry picke checked=0 branches+="" for hash in $hashes; do - branch=$(git branch -a --contains "$hash" 2>/dev/null| grep -oE '(master|stable/[a-z]+)') + branch=$(git branch -a --contains "$hash" 2>/dev/null| grep -oE '(master|stable/[a-z0-9.]+)') if [ $? -ne 0 ]; then echo "Cherry pick hash $hash not on any master or stable branches" exit 1 |