Skip to content

Commit

Permalink
fix: Added the custom release notes generator template
Browse files Browse the repository at this point in the history
  • Loading branch information
sangeet-joy_xero committed Oct 1, 2024
1 parent 14364ab commit 8d8c22e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/semantic-release/release.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
const config = {
branches: ['main'],
branches: ['main', "release-notes-custom"],
Plugins: [
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
['@semantic-release/release-notes-generator', {
"preset": "angular",
"writerOpts": {
"headerPartial": "##{{releaseType}}{{version}}\n"
}
}],
'@semantic-release/changelog',
'@semantic-release/github',
[
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

- name: Perform release
run: |
npx semantic-release
npx semantic-release --dry-run
env:
GITHUB_TOKEN: ${{secrets.TEST_TOKEN_JOY}}
working-directory: ${{ github.workspace }}/.github/semantic-release

0 comments on commit 8d8c22e

Please sign in to comment.