ci: version bump v1.0.2
This commit is contained in:
parent
ba3b603209
commit
f42da66e6c
|
@ -26,10 +26,8 @@ const run = async () => {
|
||||||
console.log('current:', current, '/', 'version:', version)
|
console.log('current:', current, '/', 'version:', version)
|
||||||
let newVersion = execSync(`npm version --git-tag-version=false ${version}`).toString()
|
let newVersion = execSync(`npm version --git-tag-version=false ${version}`).toString()
|
||||||
console.log('new version:', newVersion)
|
console.log('new version:', newVersion)
|
||||||
exec(`git commit -m 'ci: version bump ${newVersion}'`)
|
exec(`git commit -a -m 'ci: version bump ${newVersion}'`)
|
||||||
exec(`git commit -m 'ci: version bump 1.0.1'`)
|
|
||||||
exec(`git push`)
|
exec(`git push`)
|
||||||
exec(`git checkout package.json`) // cleanup
|
|
||||||
exec(`git tag ${newVersion}`)
|
exec(`git tag ${newVersion}`)
|
||||||
exec(`git push --tags`)
|
exec(`git push --tags`)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "gh-action-bump-version",
|
"name": "gh-action-bump-version",
|
||||||
"version": "1.0.1",
|
"version": "1.0.2",
|
||||||
"description": "",
|
"description": "",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "standard"
|
"test": "standard"
|
||||||
|
|
Loading…
Reference in New Issue