mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-10 18:10:08 +00:00
0.8.16 (#263)
* Checkout new branch on release script run * 0.8.16 * nit
This commit is contained in:
@@ -2,6 +2,11 @@ import { execSync } from 'child_process'
|
||||
import { readFileSync } from 'fs'
|
||||
|
||||
try {
|
||||
// Create a new branch with version-bump prefix
|
||||
console.log('Creating new branch...')
|
||||
const branchName = `version-bump-${new Date().toISOString().split('T')[0]}`
|
||||
execSync(`git checkout -b ${branchName} -t origin/master`, { stdio: 'inherit' })
|
||||
|
||||
// Run npm version patch and capture the output
|
||||
console.log('Bumping version...')
|
||||
execSync('npm version patch', { stdio: 'inherit' })
|
||||
|
||||
Reference in New Issue
Block a user