Skip to content

Commit

Permalink
feat: add release build
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonroberts committed Nov 22, 2023
1 parent 271605c commit e911583
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 2 deletions.
56 changes: 54 additions & 2 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"@ngtools/webpack": "17.0.0",
"@nx/vite": "16.8.1",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"autoprefixer": "^10.4.13",
"install": "^0.13.0",
Expand Down
6 changes: 6 additions & 0 deletions release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ module.exports = {
'assets': ['CHANGELOG.md', 'package.json', 'projects/my-lib/package.json'],
'message': 'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}'
}
],
[
'@semantic-release/exec',
{
'publishCmd': 'ng build blog && ng build my-lib'
}
]
],
'preset': 'angular'
Expand Down

0 comments on commit e911583

Please sign in to comment.