UNPKG

commit-and-tag-version

Version:

replacement for `npm version` with automatic CHANGELOG generation

8 lines (6 loc) 187 B
module.exports.readVersion = function (contents) { return Number.parseInt(contents); }; module.exports.writeVersion = function (contents) { return this.readVersion(contents) + 1; };