.releaserc
{
"tagFormat": "${version}",
"branches": [
"official-release",
{"name": "master", "prerelease": true}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
["semantic-release-replace-plugin", {
"replacements": [
{
"files": ["src/environments/environment.ts", "src/environments/environment.prod.ts"],
"from": "appVersion: \".*\"",
"to": "appVersion: \"${nextRelease.version}\"",
"results": [
{
"file": "src/environments/environment.ts",
"hasChanged": true,
"numMatches": 1,
"numReplacements": 1
},
{
"file": "src/environments/environment.prod.ts",
"hasChanged": true,
"numMatches": 1,
"numReplacements": 1
}
],
"countMatches": true
}
]
}],
["@semantic-release/npm", {
"npmPublish": false
}],
["@semantic-release/github", {
"assets": []
}],
]
}