Commit 97fbfd6
committed
fix(release): always update package.json version
When not releasing to NPM in a standard repo (as opposed to a monorepo),
no logic to update the package.json version field was triggered.
This change runs the semantic-release/npm[1] plugin with "npmPublish"
disabled. This updates the package.json version field without publishing
to NPM.
In normal operation we do want to trigger the release, so if the
publisher is set to 'npm' it works according to the default.
[1] https://github.com/semantic-release/npm#options1 parent 20ab14f commit 97fbfd6
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
31 | 39 | | |
32 | 40 | | |
33 | 41 | | |
| |||
0 commit comments