release-please-action
release-please-action copied to clipboard
[Feature request] changelog-types support multiline
Currently it's in single line, this can be difficulty to maintain if it's has many subdomain like Node.js (build, CI, docs and others)
changelog-types: '[{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"chore","section":"Miscellaneous","hidden":false}]'
If you're using yaml you can just use multiline strings, eg:
with:
changelog-types: |-
[
{ "type": "feat", "section": "Features", "hidden": false },
{ "type": "fix", "section": "Bug Fixes", "hidden": false },
{ "type": "chore", "section": "Miscellaneous", "hidden": false }
]
I'm just using | instead of |- to start the multiline string, which seems to work fine.
Seems like this and the duplicate #229 can be closed as already working.