pob-release
release with ease
Install
npm install --save-dev pob-release repository-check-dirty
How to use
Direct use
node_modules/.bin/pob-release [version]
With npm scripts npm run release
Edit your package.json:
{
"scripts": {
"lint": "eslint ...",
"preversion": "npm run lint",
"version": "pob-version",
"release": "repository-check-dirty && pob-release"
}
}
What it does
- Call
npm version
(modify package.json, create a commit, create a tag) - (Optional with pob-version) Create/Update AUTHORS
- (Optional with pob-version) Create/Update CHANGELOG.md (and let you edit with your
$EDITOR
) - Call
git push
andgit push [tag]
Options
pob-release [version]
Cli
If you use npm script:
npm run release -- [version]