Skip to content

Commit eca9325

Browse files
committed
workflow: remove redundant '}' and 'name'
1 parent 13cdced commit eca9325

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/release.mts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ async function release() {
2121
spawn.sync('pnpm', ['build'], { stdio: 'inherit' })
2222

2323
const pkg = JSON.parse(fs.readFileSync('./package.json', 'utf-8'))
24-
const { version: currentVersion, name } = pkg
24+
const { version: currentVersion } = pkg
2525

2626
const choices = Array.from(['patch', 'minor', 'major'], title => ({
2727
title,
@@ -89,7 +89,7 @@ async function release() {
8989

9090
console.log(cyan('Committing...'))
9191
spawn.sync('git', ['add', '-A'], { stdio: 'inherit' })
92-
spawn.sync('git', ['commit', '-m', `release: v${targetVersion}}`], { stdio: 'inherit' })
92+
spawn.sync('git', ['commit', '-m', `release: v${targetVersion}`], { stdio: 'inherit' })
9393

9494
console.log(cyan('Pushing...'))
9595
spawn.sync('git', ['push'], { stdio: 'inherit' })

0 commit comments

Comments
 (0)