We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3b84421 + abd9a34 commit ca3616fCopy full SHA for ca3616f
tools/check-cherry-picks.sh
@@ -23,7 +23,7 @@ hashes=$(git show --format='%b' --quiet $commit_hash | sed -nr 's/^.cherry picke
23
checked=0
24
branches+=""
25
for hash in $hashes; do
26
- 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.]+)')
27
if [ $? -ne 0 ]; then
28
echo "Cherry pick hash $hash not on any master or stable branches"
29
exit 1
0 commit comments