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"