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 23eddfb commit bf7b797
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 520 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@
"@semantic-release/changelog": "^3.0.0",
"@semantic-release/exec": "^2.3.0",
"@semantic-release/git": "^7.0.1",
"@semantic-release/npm": "^5.1.7",
"@semantic-release/github": "^5.0.1",
"@sentry/webpack-plugin": "^1.6.2",
"@storybook/addon-actions": "^4.1.11",
Expand Down
6 changes: 5 additions & 1 deletion release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,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/exec',
cmd:
Expand Down
Loading

0 comments on commit bf7b797

Please sign in to comment.