🎈 1.21.10 (#63)

* Add version '1.12.10'

* bump: Prevent destructive action when multiple versions pile
This commit is contained in:
extremeheat
2025-12-23 20:51:36 -05:00
committed by GitHub
parent 894e187411
commit a72d0a7ec2
26 changed files with 1779 additions and 1 deletions
+6
View File
@@ -20,6 +20,12 @@ If the PR is **not** passing:
`
module.exports = async ([newVersion], helpers) => {
const existingPr = await gh.findPullRequest({ titleIncludes: '🎈', status: 'open' })
if (existingPr) {
console.warn('There is already an open PR; cannot create a new one until that one is closed.', existingPr)
await gh.comment(existingPr.number, `Cannot open new PR for version '${newVersion}' as this one is already open. Maintainers: Once this is merged, please manually re-run the update workflow for the new version (${newVersion}).`)
return
}
try {
bump(newVersion)
try { exec('git branch -D bump') } catch (e) { console.log('No existing branch to delete; ok.') }