Skip to content

Commit

Permalink
feat(ci): add automatic changelog generation
Browse files Browse the repository at this point in the history
  • Loading branch information
MauriceNino committed Jun 2, 2022
1 parent 7c6c9ca commit 69ff341
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
{ "extends": ["@commitlint/config-conventional"] }
{
"extends": ["@commitlint/config-conventional"],
"rules": {
"body-max-line-length": [1, "always", 100]
}
}
9 changes: 8 additions & 1 deletion .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/github"
"@semantic-release/github",
[
"@semantic-release/git",
{
"assets": ["CHANGELOG.md"],
"message": "chore(release): ${nextRelease.version} [CI SKIP]\n\n${nextRelease.notes}"
}
]
]
}
Binary file not shown.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
"@nrwl/workspace": "14.1.9",
"@semantic-release-plus/docker": "3.1.2",
"@semantic-release/changelog": "6.0.1",
"@semantic-release/git": "10.0.1",
"@testing-library/react": "13.1.1",
"@types/cors": "2.8.12",
"@types/express": "4.17.13",
Expand Down
19 changes: 19 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3342,6 +3342,24 @@ __metadata:
languageName: node
linkType: hard

"@semantic-release/git@npm:10.0.1":
version: 10.0.1
resolution: "@semantic-release/git@npm:10.0.1"
dependencies:
"@semantic-release/error": ^3.0.0
aggregate-error: ^3.0.0
debug: ^4.0.0
dir-glob: ^3.0.0
execa: ^5.0.0
lodash: ^4.17.4
micromatch: ^4.0.0
p-reduce: ^2.0.0
peerDependencies:
semantic-release: ">=18.0.0"
checksum: b0a346acaf13d1bbd8d8d895bb0dee025dd6d4742769b5dd875018fff8fcfe0f5414299dbe1ed026e53b8f8b04eeceef49a3d56c5f6506016c656df95d2ced04
languageName: node
linkType: hard

"@semantic-release/github@npm:^8.0.0":
version: 8.0.4
resolution: "@semantic-release/github@npm:8.0.4"
Expand Down Expand Up @@ -7158,6 +7176,7 @@ __metadata:
"@nrwl/workspace": 14.1.9
"@semantic-release-plus/docker": 3.1.2
"@semantic-release/changelog": 6.0.1
"@semantic-release/git": 10.0.1
"@testing-library/react": 13.1.1
"@types/cors": 2.8.12
"@types/express": 4.17.13
Expand Down

0 comments on commit 69ff341

Please sign in to comment.