diff --git a/release.config.js b/release.config.js index b6bcf1a6d..bbaf30627 100644 --- a/release.config.js +++ b/release.config.js @@ -14,6 +14,11 @@ const release = Object.freeze({ prepare: [ '@semantic-release/changelog', '@semantic-release/npm', + { + path: '@semantic-release/exec', + cmd: + 'sed -i \'s/"version":\\s*"[^"]+"/"version": "${nextRelease.version}"/\' package.json' + }, { path: '@semantic-release/git', assets: ['package.json', 'yarn.lock', 'CHANGELOG.md'],