easy-release
v0.0.12
Published
Easily publish new versions and push
Downloads
1
Readme
easy-release
Easily publish new versions and push.
Notice:
because changelog use conventional-changelog
so please install conventional-changelog
:
npm i --save-dev conventional-changelog
Installing easy-release
npm i --save-dev easy-release
Add an npm run
script to your package.json
:
{
"scripts": {
"release": "easy-release"
}
}
Configuration
--dry
:- describe: skip
git add
git commit
npm publish
git tag
git tag push
git push
- type:
boolean
- default:
false
- example:
easy-release --dry
- describe: skip
--pre
:- describe: example
beta
alpha
... - type:
string
- default:
''
- example:
easy-release --pre=beta
- describe: example
--sb
:- describe: skip build
- type:
boolean
- default:
false
- example:
easy-release --sb
--sc
:- describe: skip changelog
- type:
boolean
- default:
false
- example:
easy-release --sc
--sp
:- describe: skip publish
- type:
boolean
- default:
false
- example:
easy-release --sp
tag
:- describe: npm publish --tag xxx
- type:
string
- default:
''
if--pre
value - example:
easy-release --tag=beta
Thank
modeled after the vue release. thank vue