From f42da66e6c9e1b9d495c4d7479596f378568a0be Mon Sep 17 00:00:00 2001 From: phips28 Date: Sat, 26 Oct 2019 19:47:21 +0200 Subject: [PATCH] ci: version bump v1.0.2 --- gh-action-bump-version-run.js | 4 +--- package.json | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/gh-action-bump-version-run.js b/gh-action-bump-version-run.js index 17017cb..4473b67 100644 --- a/gh-action-bump-version-run.js +++ b/gh-action-bump-version-run.js @@ -26,10 +26,8 @@ const run = async () => { console.log('current:', current, '/', 'version:', version) let newVersion = execSync(`npm version --git-tag-version=false ${version}`).toString() console.log('new version:', newVersion) - exec(`git commit -m 'ci: version bump ${newVersion}'`) - exec(`git commit -m 'ci: version bump 1.0.1'`) + exec(`git commit -a -m 'ci: version bump ${newVersion}'`) exec(`git push`) - exec(`git checkout package.json`) // cleanup exec(`git tag ${newVersion}`) exec(`git push --tags`) } diff --git a/package.json b/package.json index 7010f41..0ef848d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gh-action-bump-version", - "version": "1.0.1", + "version": "1.0.2", "description": "", "scripts": { "test": "standard"