fix: don't tag and commit
This commit is contained in:
parent
d18b7650d7
commit
dc0f926573
4
cli.js
4
cli.js
|
@ -17,8 +17,8 @@ let version = 'patch'
|
||||||
|
|
||||||
let pkg = require('./package.json')
|
let pkg = require('./package.json')
|
||||||
let current = execSync(`npm view ${pkg.name} version`).toString()
|
let current = execSync(`npm view ${pkg.name} version`).toString()
|
||||||
process.stdout.write(execSync(`npm version --allow-same-version ${current} `))
|
process.stdout.write(execSync(`npm version --allow-same-version --git-tag-version ${current} `))
|
||||||
process.stdout.write(execSync(`npm version ${version}`))
|
process.stdout.write(execSync(`npm version --git-tag-version ${version}`))
|
||||||
process.stdout.write(execSync(`npm publish --access=public`))
|
process.stdout.write(execSync(`npm publish --access=public`))
|
||||||
process.stdout.write(execSync(`git push --tags`))
|
process.stdout.write(execSync(`git push --tags`))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue