Skip to content

Commit 89cd325

Browse files
committed
ci(bump): fix wait
1 parent c626a5f commit 89cd325

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

xml/create-bump-prs.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@ if [ -f .bump.csv.bak ]; then
1919
\git add Dockerfile
2020
\git commit -S -m "build(deps): bump ${p} from ${v1} to ${v2}"
2121
echo -n "Please review and push commit in branch \"${b}\". Waiting..."
22-
while [ "$(git rev-list --count --right-only 'origin...HEAD')" -gt 0 ]; do
22+
while ! git rev-parse --abbrev-ref --symbolic-full-name @{u} >/dev/null 2>&1 ; do
2323
\sleep 1
2424
\echo -n .
2525
done
26+
\sleep 1
2627
\echo
2728
\gh pr create -f -l build -l dependencies
2829
\git checkout -

0 commit comments

Comments
 (0)