Skip to content

Commit 9e99ad3

Browse files
committed
chore(scripts): actually use $BRANCH instead of using default value
1 parent 71191d8 commit 9e99ad3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/release/wait-for-pr.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ if [ -z "$BRANCH" ]; then
1313
fi
1414

1515
# Wait for CI to complete
16-
if ! gh pr checks --fail-fast --watch; then
16+
if ! gh pr checks --fail-fast --watch "$BRANCH"; then
1717
echo 'CI failed. Cannot continue with release.'
1818
gh pr view "$BRANCH" --web
1919
exit 1

0 commit comments

Comments
 (0)