sam-version-updater-regex
v1.0.0
Published
A simple updater to use with conventional-changelog/standard-version
Downloads
3
Readme
SAM-Version-Updater
This is a simple module for standard-version to update Globals.Function.Tags.version in a SAM's template.yaml file based on regex
Usage
For non-node proyects install globally and export the global path:
npm i -g sam-version-updater
export NODE_PATH=$(npm root -g)
Your version configuration for standard-version should be like:
// .versionrc.js
const tracker = {
filename: 'template.yaml',
updater: require('sam-version-updater')
}
module.exports = {
bumpFiles: [tracker]
}