Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
fix(semantic-release): fix config
Browse files Browse the repository at this point in the history
  • Loading branch information
jonthomp committed May 25, 2018
1 parent bd21ce4 commit 5ba703d
Show file tree
Hide file tree
Showing 4 changed files with 624 additions and 58 deletions.
35 changes: 0 additions & 35 deletions .releaserc

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"predeploy": "cd example && yarn install && yarn run build",
"deploy": "gh-pages -d example/build",
"precommit":
"pretty-quick --staged && lint-staged && cd scripts && python propscheck.py",
"pretty-quick --staged && lint-staged && cd scripts && python propscheck.py && cd .. && ./scripts/runflow",
"format": "prettier --write \"+(src|example)/**/*.js\"",
"lint": "eslint --ext .js src/**/*",
"styleguide": "styleguidist server",
Expand Down
33 changes: 33 additions & 0 deletions release.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
module.exports = {
verifyConditions: [
"@semantic-release/changelog",
"@semantic-release/npm",
{
path: "@semantic-release/git",
assets: [
"CHANGELOG.md",
"package.json",
"package-lock.json",
"npm-shrinkwrap.json",
],
message:
"chore(release): ${nextRelease.version} --skip \n\n${nextRelease.notes}", // eslint-disable-line
},
],
prepare: [
"@semantic-release/changelog",
"@semantic-release/npm",
{
path: "@semantic-release/git",
assets: [
"CHANGELOG.md",
"package.json",
"package-lock.json",
"npm-shrinkwrap.json",
],
message:
"chore(release): ${nextRelease.version} --skip \n\n${nextRelease.notes}", // eslint-disable-line
},
],
publish: ["@semantic-release/github"],
};
Loading

0 comments on commit 5ba703d

Please sign in to comment.