Replace version placeholders with calculated version in any files before publishing
Forked from gr2m/semantic-release-plugin-update-version-in-files
> Replace version placeholders with calculated version in any files before publishing


Example
``json`
{
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/github",
"@semantic-release/npm",
[
"semantic-release-plugin-update-version-in-files",
{
"files": ["version.js"],
"placeholder": "0.0.0-development"
}
]
]
}
If "files" is not set, it defaults to [ "version.js" ]. Glob patterns are supported viaplaceholder
glob.
If is not set, it defaults to "0.0.0-development"."${lastRelease.version}"
You can use a dynamic placeholder (e.g. ) pointing to any variable present in theprepare`stage.
semantic release context of the
See also: semantic-release plugins configuration.