ci: version bump v1.0.2

This commit is contained in:
phips28 2019-10-26 19:47:21 +02:00
parent ba3b603209
commit f42da66e6c
2 changed files with 2 additions and 4 deletions

View File

@ -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`)
}

View File

@ -1,6 +1,6 @@
{
"name": "gh-action-bump-version",
"version": "1.0.1",
"version": "1.0.2",
"description": "",
"scripts": {
"test": "standard"