TagReleaseLog
Generate release log between tags to changeLog.md
.
Each tag's changelogs will be saved @ /trlog
program
Usage: tagchanges options command Options: -V --version output the version number -r --repository repository Path for repository -f --file file Path for changelog eg xxx -n --no-save Print only and donot save -h --head Enable changelog from HEAD -l --list Generate the change files between tags -h --help output usage information Commands: gen generate changelogs
Getting started
- Before installing, download and install Node.js. Node.js 8.0.0 or higher is required
- global
- npm install:
npm -g install tagchanges
- enter the target project & run tagchanges:
cd my-project && tagchanges gen
- script
- npm install:
npm install tagchanges --save-dev
- add script :
changelog: "tagchanges gen"
- run :
npm run changelog
- run in node
- require:
const changelog = require('tagchanges');
- run :
changelog({ repository: '.', save: false }).then(result => {/*...*/}).catch(err => {})