From 86c4556489bd3677f7f49a78ab85e692c8d0bc73 Mon Sep 17 00:00:00 2001 From: Jeff Dickey <216188+jdxcode@users.noreply.github.com> Date: Sun, 28 Jan 2018 03:43:32 -0800 Subject: [PATCH] fix: unescape commit message --- scripts/release_example.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/release_example.js b/scripts/release_example.js index 7dcebd5..9cf6be0 100644 --- a/scripts/release_example.js +++ b/scripts/release_example.js @@ -50,7 +50,7 @@ module.exports = (_, options) => { sh.exec(`create-dxcli ${type} --force --defaults ${options}`) sh.exec('git add -A') try { - execa.sync('git', ['commit', '-m', `"${releaseType === 'patch' ? 'fix' : 'feat'}: create-dxcli v${version}"\n\n${notes}`], {stdio: 'inherit'}) + execa.sync('git', ['commit', '-m', `${releaseType === 'patch' ? 'fix' : 'feat'}: create-dxcli v${version}\n\n${notes}`], {stdio: 'inherit'}) sh.exec('git push') } catch (err) { console.error(err)