Skip to content

Commit f4a4a48

Browse files
committed
chore(release): wait 3 seconds before checking CI
so GitHub has time to get it started, otherwise it will fail immediately
1 parent c936fad commit f4a4a48

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/release/version.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ if which gh 2>/dev/null 1>/dev/null; then
3838
git switch "$BASE_BRANCH"
3939
git branch -D "$BRANCH"
4040

41+
sleep 3 # Give GitHub time to start CI before we check it
4142
. "$(dirname "$0")/wait-for-pr.sh" "$BRANCH"
4243
while [ "$(gh pr view "$BRANCH" --json state -q .state)" != 'MERGED' ]; do
4344
sleep 3 # Wait for GitHub to auto-merge the PR

0 commit comments

Comments
 (0)