A YAML updater for standard-version.
# latest stable
npm install standard-version-updater-yaml
In your .versionrc.js
file:
const standardVersionUpdaterYaml = require.resolve("standard-version-updater-yaml");
module.exports = {
...,
bumpFiles: [
{
filename: "file.yml",
updater: standardVersionUpdaterYaml
}
]
};
- or -
module.exports = {
...,
bumpFiles: [
{
filename: "file.yml",
updater: require.resolve("standard-version-updater-yaml")
}
]
};
This updater will only update a root version
tag inside of a YAML file.
name: My package
version: 1.0.0
package:
name: My package
version: 1.0.0
This project uses Semantic Versioning 2.0.0 to keep track of releases.
For more detailed information about SemVer, please see the official documentation.
If you're interested in contributing to the project, please read the Contribution Guidelines. Any and all contributions must follow these guidelines or they will not be accepted.