Skip to content

Commit 9102871

Browse files
committed
ci: push tags sequentially to avoid GitHub's 3-tag push event limit
1 parent 7484d39 commit 9102871

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎scripts/release.ts‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,11 @@ async function main() {
359359
}
360360

361361
step('\nPushing to Github...')
362-
await runIfNotDry('git', ['push', 'origin', ...versionsToPush])
362+
// NOTE: push tags one by one, GitHub silently skips push events when >3
363+
// tags are pushed in a single command, so CI workflows would never trigger.
364+
for (const tag of versionsToPush) {
365+
await runIfNotDry('git', ['push', 'origin', tag])
366+
}
363367
await runIfNotDry('git', ['push'])
364368
}
365369

0 commit comments

Comments
 (0)