-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add scope in types #53
Comments
This feature was released in the |
Author of the |
Actually, I'm not a maintainer of this repository. But I believe it would be good since https://github.com/semantic-release/release-notes-generator#options This is how people know how to use it, I guess. |
Specifying a scope with a type seems to be working now, though it should be noted somewhere that the order of types: [
{
type: 'feat',
scope: 'specific-scope',
section: 'Specific Features'
},
{
type: 'feat',
section: 'Features'
}
] However, with I had followed the example here but like this: "plugins": [
["@semantic-release/commit-analyzer", {
"preset": "conventionalcommits",
"presetConfig": {
types: [...]
},
"releaseRules": [
{"scope": "no-release", "release": false}
]
}],
[ '@semantic-release/release-notes-generator', {
"preset": "conventionalcommits",
"presetConfig": {
types: [...]
}
}]
] So what I have to do currently is loop through all the types and specify types: [
{
scope: 'no-release',
hidden: true
},
{
type: 'feat',
section: 'Features'
},
...
] Is there a way to support that? And let me know if I should open a new issue. |
Seems to be an old issue. But I would like to remind this feature request. 😁 So that it would be possible
types: [
{
"type": "*",
"scope": "no-release",
"hidden": true
}
]
types: [
{
"scope": "no-release",
"hidden": true
}
] Thank you so much! |
I would like to define a custom scope in types, such as:
So I could select which commits would be part of the changelog (I don't want to include all the
build
type commits, only the ones matching the scopedeps
).So I could use with
@semantic-release/commit-analyzer
:The text was updated successfully, but these errors were encountered: