1.2.2 • Published 3 years ago

standard-version-updater-pom v1.2.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

standard-version-updater-pom

The conventional-changelog/standard-version updater for Gradle build files.

Installation

  1. create package.json in the project root dir.
{
	"name": "you app name",
	"version": "1.0.0"
}
  1. install this tool
$ npm install --save-dev standard-version-updater-pom

Configuration

create .versionrc.js config file.

// .versionrc.js
const xmlUpdater = require('standard-version-updater-pom');

const xmlTracker = {
  filename: 'pom.xml',
  updater: xmlUpdater,
};

module.exports = {
  packageFiles: [xmlTracker],
  bumpFiles: [xmlTracker],
};