From be1eb84449c580c17675df53ddb5edd92325d977 Mon Sep 17 00:00:00 2001 From: mob-suvee Date: Fri, 17 Jan 2020 09:07:27 -0300 Subject: [PATCH 1/2] fix: remove double quotes on ci: bump version conventional commit message --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 00dd9ab..4debb65 100644 --- a/index.js +++ b/index.js @@ -42,7 +42,7 @@ Toolkit.run(async tools => { ['version', '--allow-same-version=true', '--git-tag-version=false', current]) console.log('current:', current, '/', 'version:', version) let newVersion = execSync(`npm version --git-tag-version=false ${version}`).toString().trim() - await tools.runInWorkspace('git', ['commit', '-a', '-m', `"ci: ${commitMessage} ${newVersion}"`]) + await tools.runInWorkspace('git', ['commit', '-a', '-m', `ci: ${commitMessage} ${newVersion}`]) // now go to the actual branch to perform the same versioning await tools.runInWorkspace('git', ['checkout', currentBranch]) @@ -52,7 +52,7 @@ Toolkit.run(async tools => { newVersion = execSync(`npm version --git-tag-version=false ${version}`).toString().trim() newVersion = `${process.env['INPUT_TAG-PREFIX']}${newVersion}` console.log('new version:', newVersion) - await tools.runInWorkspace('git', ['commit', '-a', '-m', `"ci: ${commitMessage} ${newVersion}"`]) + await tools.runInWorkspace('git', ['commit', '-a', '-m', `ci: ${commitMessage} ${newVersion}`]) const remoteRepo = `https://${process.env.GITHUB_ACTOR}:${process.env.GITHUB_TOKEN}@github.com/${process.env.GITHUB_REPOSITORY}.git` // console.log(Buffer.from(remoteRepo).toString('base64')) From e64a21055eaf2600b4a1a4cf90edffe5f352d269 Mon Sep 17 00:00:00 2001 From: Automated Version Bump Date: Fri, 17 Jan 2020 12:13:03 +0000 Subject: [PATCH 2/2] ci: version bump to v5.0.19 --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 621629e..efdcbad 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "gh-action-bump-version", - "version": "5.0.18", + "version": "5.0.19", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index ef15a84..56ab82f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gh-action-bump-version", - "version": "5.0.18", + "version": "5.0.19", "repository": { "type": "git", "url": "git+https://github.com/phips28/gh-action-bump-version.git"