Skip to content

Commit

Permalink
build(release): publish CHANGELOG via PR
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlj95 committed Nov 24, 2023
1 parent 09e28eb commit 9f84f31
Show file tree
Hide file tree
Showing 3 changed files with 448 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .releaserc.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,18 @@ module.exports = {
{ pkgRoot: './dist/ngx-meta', tarballDir: 'dist' },
],
['@semantic-release/github', { assets: 'dist/*.tgz' }],
[
'@semantic-release/changelog',
{
changelogFile: 'projects/ngx-meta/CHANGELOG.md',
},
],
[
'semantic-release-github-pullrequest',
{
assets: ['projects/ngx-meta/CHANGELOG.md'],
},
],
],
//👇 Add library name in tag
tagFormat: 'ngx-meta-v${version}',
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"@angular/compiler-cli": "17.0.4",
"@commitlint/cli": "18.4.3",
"@commitlint/config-conventional": "18.4.3",
"@semantic-release/changelog": "6.0.3",
"@types/jasmine": "5.1.4",
"@typescript-eslint/eslint-plugin": "6.12.0",
"@typescript-eslint/parser": "6.12.0",
Expand All @@ -66,6 +67,7 @@
"ng-packagr": "17.0.2",
"prettier": "3.1.0",
"semantic-release": "22.0.8",
"semantic-release-github-pullrequest": "1.3.0",
"typescript": "5.2.2"
}
}
Loading

0 comments on commit 9f84f31

Please sign in to comment.