Skip to content

Commit

Permalink
feat: work on semantic-release setup
Browse files Browse the repository at this point in the history
  • Loading branch information
JalilArfaoui committed May 31, 2019
1 parent f0c5608 commit cd26b86
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down

0 comments on commit cd26b86

Please sign in to comment.