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 20b64ed + c1496c4 commit 4622064Copy full SHA for 4622064
tools/check-cherry-picks.sh
@@ -21,8 +21,11 @@ branches+=""
21
for hash in $hashes; do
22
branch=$(git branch -a --contains "$hash" 2>/dev/null| grep -oE '(master|stable/[a-z0-9.]+|unmaintained/[a-z0-9.]+)')
23
if [ $? -ne 0 ]; then
24
- echo "Cherry pick hash $hash not on any master, stable or unmaintained branches"
25
- exit 1
+ branch=$(git tag --contains "$hash" 2>/dev/null| grep -oE '([0-9.]+-eol)')
+ if [ $? -ne 0 ]; then
26
+ echo "Cherry pick hash $hash not on any master, stable, unmaintained or EOL'd branches"
27
+ exit 1
28
+ fi
29
fi
30
branches+=" $branch"
31
checked=$(($checked + 1))
0 commit comments