mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-05 21:20:12 +00:00
Create unique branch name [skip ci] (#266)
This commit is contained in:
@@ -4,7 +4,9 @@ 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]}`
|
||||
const date = new Date().toISOString().split('T')[0]
|
||||
const timestamp = new Date().getTime()
|
||||
const branchName = `version-bump-${date}-${timestamp}`
|
||||
execSync(`git checkout -b ${branchName} -t origin/master`, { stdio: 'inherit' })
|
||||
|
||||
// Run npm version patch and capture the output
|
||||
|
||||
Reference in New Issue
Block a user