chore: update release script

This commit is contained in:
ayo 2026-04-02 18:02:02 +02:00
parent 7d7bd8b55b
commit 7711ae0ebb

View file

@ -15,11 +15,14 @@ console.log('Checkout release branch')
//git checkout -b release --track gh/release //git checkout -b release --track gh/release
await git.checkout(['-b', 'release', '--track', 'gh/release']) await git.checkout(['-b', 'release', '--track', 'gh/release'])
// console.log(`Reset to main branch (${hash})`) console.log(`Reset to main branch (${hash})`)
// await git.reset(['--hard', hash]) await git.reset(['--hard', hash])
// console.log('Push to release branch') console.log('Push to release branch')
// await git.push(['--force']) await git.push(['--force', 'gh'])
// console.log('Checkout main branch') console.log('Checkout main branch')
// await git.checkout('main') await git.checkout('main')
console.log('Deleting local release branch')
await git.branch(['-D', 'release'])