From cd0a957259da00d96ffcac95de89dec8992a1a12 Mon Sep 17 00:00:00 2001 From: robert Date: Fri, 24 Nov 2023 10:12:40 +0100 Subject: [PATCH] fix: return str from git commit execSync --- scripts/publish.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/publish.ts b/scripts/publish.ts index d4d9b17..f52bc6e 100644 --- a/scripts/publish.ts +++ b/scripts/publish.ts @@ -584,7 +584,7 @@ async function run() { console.info(`Committing changes...`) execSync('git add -A ') - execSync(`git commit -m "${releaseCommitMsg(version)}"`) + execSync(`git commit --verbose -m "${releaseCommitMsg(version)}"`, { encoding: 'utf8' }) console.info() console.info(` Committed Changes.`)