-
Notifications
You must be signed in to change notification settings - Fork 47
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
How to generate note with custom sections? #153
Comments
The default preset is |
Sorry, the first time I tried using Any ideia of how change the title of section commits using preset angular? |
I don't think the angular preset support any option. You will have to rewrite the |
Maybe you were trying to use the |
Thanks!!! After opened the PR, I read again the last note
I changed the I needed to install the package: conventional-changelog-conventionalcommits and updated for: {
"branch": "master",
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"releaseRules": [
{
"type": "refactor",
"release": "patch"
},
{
"type": "docs",
"release": "patch"
},
{
"type": "test",
"release": "patch"
},
{
"type": "style",
"release": "patch"
},
{
"type": "perf",
"release": "patch"
},
{
"type": "ci",
"release": "patch"
},
{
"type": "build",
"release": "patch"
}
]
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{
"type": "feat",
"section": ":sparkles: Novidades",
"hidden": false
},
{
"type": "fix",
"section": ":bug: Correções",
"hidden": false
},
{
"type": "docs",
"section": ":memo: Documentação",
"hidden": false
},
{
"type": "style",
"section": ":barber: Estilização",
"hidden": false
},
{
"type": "refactor",
"section": ":zap: Refatoração",
"hidden": false
},
{
"type": "perf",
"section": ":fast_forward: Desempenho",
"hidden": false
},
{
"type": "test",
"section": ":white_check_mark: Testes",
"hidden": false
},
{
"type": "ci",
"section": ":repeat: CI",
"hidden": false
},
{
"type": "chore",
"hidden": true
}
]
}
}
],
[
"@semantic-release/github",
{
"assets": [
{
"path": "server.zip",
"label": "DeltaWeb - Build: ${nextRelease.gitTag}",
"name": "server-${nextRelease.gitTag}.zip"
}
]
}
]
]
} |
This solution should be highlighted in the documentation as many issues refers to it. |
True, but if you felt ignored about your opinions towards commit messages you might fare the same unwillingness to help after a long day of trying to get something working that you'd expect to have been fast and simple. Btw, don't forget to run the below command or you'll get errors about removing the presets from the built-in libs.
|
Does anyone got any idea? |
Define all possible commit types and their corresponding releases. And add the conventional commits preset in release-note-generator plugin, so that a more useful release note can be generated. See also: - https://github.com/semantic-release/commit-analyzer#rules-definition - semantic-release/release-notes-generator#153 (comment)
Define all possible commit types and their corresponding releases. And add the conventional commits preset in release-note-generator plugin, so that a more useful release note can be generated. See also: - https://github.com/semantic-release/commit-analyzer#rules-definition - semantic-release/release-notes-generator#153 (comment)
@max10rogerio thanks man! this is brilliant!! |
Hi, i'm trying generate release notes with custom sections, but my configuration isn't working...
I read the issues:
I don't know which setting to use
The text was updated successfully, but these errors were encountered: