semantic-release-ionic-config
v1.0.1
Published
Semantic release plugin for updating config.xml version automatically
Downloads
2
Maintainers
Readme
semantic-release-ionic-config
Semantic release plugin for automatically update config.xml files.
Install
$ npm install -D semantic-release-ionic-config
Usage
The plugin can be configured in the semantic-release configuration file:
By default, it updates config.xml to the latest version
YAML
:
prepare:
- @semantic-release-ionic-config"
JSON
:
{
"prepare": ["semantic-release-ionic-config"]
}
Configuration
Options
| Options | Desctiption | | ----------- | ----------------------------- | | filenames | name of the config.xml files. |
The example is to update multiple config.xml files, and commit them afterward.
YAML
:
prepare:
- - 'semantic-release-ionic-config'
- filenames: ['config.xml', 'config.dev.xml', 'config.prod.xml']
- - '@semantic-release/git'
- assets:
[
'package.json',
'package-lock.json',
'config.xml',
'config.dev.xml',
'config.prod.xml',
'CHANGELOG.md',
]
- message: 'chore(release): v${nextRelease.version}'
JSON
:
{
"prepare": [
[
"semantic-release-ado",
{
"filenames": ["config.xml", "config.dev.xml", "config.prod.xml"]
}
],
{
"path": "@semantic-release/git",
"assets": [
"package.json",
"package-lock.json",
"config.xml",
"config.dev.xml",
"config.prod.xml",
"CHANGELOG.md"
],
"message": "chore(release): v${nextRelease.version}"
}
]
}