1.0.0 • Published 3 years ago

sam-version-updater-regex v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

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]
}