ci: reset working directory between cherrypick labels (#9656)
This commit is contained in:
parent
1379b5f7d6
commit
5a4a6d10f1
|
@ -186,6 +186,8 @@ for label in $labels; do
|
||||||
cherry_pick_with_slack_notification "$branch" "$CIRCLE_SHA1" "$pr_url"
|
cherry_pick_with_slack_notification "$branch" "$CIRCLE_SHA1" "$pr_url"
|
||||||
backport_failures=$((backport_failures + "$?"))
|
backport_failures=$((backport_failures + "$?"))
|
||||||
fi
|
fi
|
||||||
|
# reset the working directory for the next label
|
||||||
|
git reset --hard
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ "$backport_failures" -ne 0 ]; then
|
if [ "$backport_failures" -ne 0 ]; then
|
||||||
|
|
Loading…
Reference in New Issue