-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Release] try using angular generally (#444)
Followup to #441 ## What changed? Why? I don't know why conventional changelogs are so tough but this _should_ enable the parser to really work by moving the config inside the release package, I think.
- Loading branch information
Showing
2 changed files
with
48 additions
and
42 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
const preset = 'angular'; | ||
|
||
/** | ||
* @type {import('semantic-release').GlobalConfig} | ||
*/ | ||
module.exports = { | ||
branches: ['main'], | ||
plugins: [ | ||
[ | ||
'@semantic-release/commit-analyzer', | ||
{ | ||
preset, | ||
releaseRules: [ | ||
{ | ||
message: '*breaking*', | ||
release: 'major', | ||
}, | ||
{ | ||
tag: 'feat', | ||
release: 'minor', | ||
}, | ||
{ | ||
message: '*feat*', | ||
release: 'minor', | ||
}, | ||
{ | ||
message: '**', | ||
release: 'patch', | ||
}, | ||
{ | ||
header: '**', | ||
release: 'patch', | ||
}, | ||
], | ||
parserOpts: { | ||
noteKeywords: ['BREAKING CHANGE', 'BREAKING CHANGES'], | ||
}, | ||
}, | ||
], | ||
[ | ||
'@semantic-release/release-notes-generator', | ||
{ | ||
preset, | ||
}, | ||
], | ||
'@semantic-release/github', | ||
], | ||
}; |