@z1c1/revert-changelog
v0.1.2
Published
A script for reverting change log to set version. Only tested when using `standard-version` to generate change log.
Downloads
5
Readme
@z1c1/revert-changelog
A script for reverting change log to set version. Only tested when using standard-version
to generate change log.
Features
Revert CHANGELOG to the set version. Only test CHANGELOG.md file generated by standard-version
.
Start
npm scripts
npm install -D @z1c1/revert-changelog
config npm scripts:
{
"scripts": {
"revert-changelog": "revert-changelog '${version}' '${filename}'"
}
}
npx
npx @z1c1/revert-changelog "$version" "$filename"
Options
version (Optional): The version you want to revert to. Content before and include the set version in changelog file will be simply cleared. If not set, latest version in changelog file will be reverted.
filename (Optional): The filename of CHANGELOG. Default value is 'CHANGELOG.md'.
Recently changes
See the change log.