From 54667dc61c67ee49df311722f534cd029f982e6c Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Sun, 17 Jan 2021 19:31:29 +0000 Subject: [PATCH] build(release): compiled action for 1.3.4 [skip ci] --- dist/index.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dist/index.js b/dist/index.js index b6ee6979..8e771d84 100644 --- a/dist/index.js +++ b/dist/index.js @@ -462,7 +462,7 @@ async function main() { core.debug(`Local changes found`); - await runShellCommand(`git checkout -b "${TEMPORARY_BRANCH_NAME}"`); + await runShellCommand(`git checkout -b '${TEMPORARY_BRANCH_NAME}'`); const gitUser = await getGitUser(); if (gitUser) { @@ -490,7 +490,7 @@ async function main() { } await runShellCommand( - `git commit -m "${inputs.commitMessage}" --author "${inputs.author}"` + `git commit -m '${inputs.commitMessage}' --author '${inputs.author}'` ); const currentBranch = await runShellCommand( @@ -505,7 +505,7 @@ async function main() { `git fetch https://x-access-token:${process.env.GITHUB_TOKEN}@github.com/${process.env.GITHUB_REPOSITORY}.git ${DEFAULT_BRANCH}:${DEFAULT_BRANCH}` ); await runShellCommand(`git stash --include-untracked`); - await runShellCommand(`git rebase -X theirs "${DEFAULT_BRANCH}"`); + await runShellCommand(`git rebase -X theirs '${DEFAULT_BRANCH}'`); } core.debug(`Try to fetch and checkout remote branch "${inputs.branch}"`); @@ -606,10 +606,10 @@ async function getGitUser() { async function setGitUser({ name, email }) { core.debug(`Configuring user.name as "${name}"`); - await runShellCommand(`git config --global user.name "${name}"`); + await runShellCommand(`git config --global user.name '${name}'`); core.debug(`Configuring user.email as "${email}"`); - await runShellCommand(`git config --global user.email "${email}"`); + await runShellCommand(`git config --global user.email '${email}'`); } async function checkOutRemoteBranch(branch) {