Skip to content

Commit cd0a957

Browse files
committed
fix: return str from git commit execSync
1 parent 3d6e7bb commit cd0a957

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/publish.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ async function run() {
584584

585585
console.info(`Committing changes...`)
586586
execSync('git add -A ')
587-
execSync(`git commit -m "${releaseCommitMsg(version)}"`)
587+
execSync(`git commit --verbose -m "${releaseCommitMsg(version)}"`, { encoding: 'utf8' })
588588

589589
console.info()
590590
console.info(` Committed Changes.`)

0 commit comments

Comments
 (0)