Skip to content
This repository has been archived by the owner on Dec 22, 2022. It is now read-only.

Commit

Permalink
fix: fixed missing npm version on release
Browse files Browse the repository at this point in the history
  • Loading branch information
prisis committed Jun 9, 2021
1 parent 3e0083f commit d35ddc2
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,20 @@ module.exports = {
"preset": "conventionalcommits"
}
],
[
"@google/semantic-release-replace-plugin",
{
"replacements": [
{
"files": [
"package.json"
],
"from": "\"version\": \".*\"",
"to": "\"version\": \"${nextRelease.version}\""
}
]
}
],
[
"@semantic-release/release-notes-generator",
{
Expand All @@ -32,7 +46,8 @@ module.exports = {
[
"@semantic-release/git",
{
"message": "chore(release): ${nextRelease.gitTag} [skip ci]\\n\\n${nextRelease.notes}"
"message": "chore(release): ${nextRelease.gitTag} [skip ci]\n\n${nextRelease.notes}",
"assets": ["package.json"]
}
]
]
Expand Down

0 comments on commit d35ddc2

Please sign in to comment.