Skip to content
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

Question: how can i gruop no-scope commits on a section in release notes generator configuration ? #611

Open
braybatista opened this issue Mar 14, 2024 · 0 comments

Comments

@braybatista
Copy link

im using this configuration that group certain types of scoped commits but i need to group the non-scoped commits
example non scoped message --> "commit message: this is an non scoped message for this commit",
example scoped message --> "commit message: feat: adding example scoped message for this commit"
i need to group non scoped messages in release note generator section. ¿is it posibble?
configuration:
[
"@semantic-release/release-notes-generator", {
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{ "type": "breaking", "section": "Major version release", "hidden": false },
{ "type": "BREAKING", "section": "Major version release", "hidden": false },
{ "type": "BREAKING CHANGE", "section": "Major version release", "hidden": false },
{ "type": "BREAKING CHANGES", "section": "Major version release", "hidden": false },
{ "type": "feat", "section": "Features", "hidden": false },
{ "type": "fix", "section": "Bug Fixes", "hidden": false },
{ "type": "hotfix", "section": "Bug Fixes", "hidden": false },
{ "type": "update", "section": "Updates", "hidden": false },
{ "type": "upgrade", "section": "Upgrades", "hidden": false },
{ "type": "docs", "section": "Documentation", "hidden": false },
{ "type": "chore", "section": "Chores", "hidden": false },
{ "type": "build", "section": "CI/CD Changes", "hidden": false },
{ "type": "ci", "section": "CI/CD Changes", "hidden": false },
{ "type": "test", "section": "Tests", "hidden": false },
{ "type": "refactor", "section": "Refactoring", "hidden": false },
{ "type": "perf", "section": "Performance Improvements", "hidden": false }
]
},
"writerOpts": {
"commitsSort": ["subject", "scope"]
}
}
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant