Skip to content

Commit

Permalink
build(setup): Generate changelog on release
Browse files Browse the repository at this point in the history
  • Loading branch information
joerideg committed Jul 5, 2024
1 parent 5a52f85 commit ab00ee2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,18 @@
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
"@semantic-release/npm",
"@semantic-release/github",
[
"@semantic-release/git",
{
"assets": ["package.json"],
"assets": ["package.json", "pnpm-lock.yaml", "CHANGELOG.md"],
"message": "chore(release): ${nextRelease.version} \n\n${nextRelease.notes}"
}
]
Expand Down
Empty file added CHANGELOG.md
Empty file.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"generate": "plop",
"storybook": "storybook dev -p 6006",
"storybook:build": "storybook build",
"e2e": "playwright test",
"e2e": "pnpm storybook:build && playwright test",
"e2e:report": "playwright show-report"
},
"dependencies": {
Expand Down

0 comments on commit ab00ee2

Please sign in to comment.