Skip to content

Commit

Permalink
fix(semantic-release): Use @semantic-release/git properly
Browse files Browse the repository at this point in the history
And actually generate `CHANGELOG.md`s with `@semantic-release/changelog`.
  • Loading branch information
randytarampi committed Mar 8, 2019
1 parent 54549bd commit ffeb88a
Show file tree
Hide file tree
Showing 3 changed files with 122 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
plugins:
- "@semantic-release/commit-analyzer"
- "@semantic-release/release-notes-generator"
- "@semantic-release/git":
assets:
- package.json
- package-lock.json
message: "release(travis): Release ${nextRelease.version}\n\n[skip ci]\n\n${nextRelease.notes}"
- "@semantic-release/changelog"
- "@semantic-release/npm"
- - "@semantic-release/git"
- assets:
- package.json
- package-lock.json
- CHANGELOG.md
message: "release(travis): Release ${nextRelease.version}\n\n[skip ci]\n\n${nextRelease.notes}"
- "@semantic-release/github"
113 changes: 113 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
"@babel/polyfill": "~7.2.5",
"@babel/preset-env": "~7.3.4",
"@babel/register": "~7.0.0",
"@semantic-release/changelog": "^3.0.2",
"@semantic-release/git": "^7.0.8",
"babel-eslint": "~10.0.1",
"babel-loader": "~8.0.5",
"babel-plugin-istanbul": "~5.1.1",
Expand Down

0 comments on commit ffeb88a

Please sign in to comment.