easy-release
v0.0.12
Published
Easily publish new versions and push
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-changelogInstalling easy-release
npm i --save-dev easy-releaseAdd an npm run script to your package.json:
{
"scripts": {
"release": "easy-release"
}
}Configuration
--dry:- describe: skip
git addgit commitnpm publishgit taggit tag pushgit push - type:
boolean - default:
false - example:
easy-release --dry
- describe: skip
--pre:- describe: example
betaalpha... - 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--prevalue - example:
easy-release --tag=beta
Thank
modeled after the vue release. thank vue
