semantic-release-replace-plugin / PluginConfig
PluginConfig is used to provide multiple replacement.
[
"@google/semantic-release-replace-plugin",
{
"replacements": [
{
"files": ["foo/__init__.py"],
"from": "__VERSION__ = \".*\"",
"to": "__VERSION__ = \"${nextRelease.version}\"",
"results": [
{
"file": "foo/__init__.py",
"hasChanged": true,
"numMatches": 1,
"numReplacements": 1
}
],
"countMatches": true
}
]
}
]
• replacements: Replacement
[]
An array of replacements to be made.