Skip to content

Commit

Permalink
Merge pull request #304 from insitu-project/chore/semantic-release/fi…
Browse files Browse the repository at this point in the history
…x-prepare

feat: work on semantic-release setup
  • Loading branch information
JalilArfaoui authored May 31, 2019
2 parents 23eddfb + bf7b797 commit 5718820
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 5718820

Please sign in to comment.