mirror of https://github.com/status-im/consul.git
ci: reset working directory between cherrypick labels (#9656)
This commit is contained in:
parent
f561462064
commit
6cb0482db6
|
@ -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