release-please-action icon indicating copy to clipboard operation
release-please-action copied to clipboard

[Feature request] changelog-types support multiline

Open gengjiawen opened this issue 5 years ago • 2 comments

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}]'

gengjiawen avatar Jan 05 '21 00:01 gengjiawen

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 }
            ]

scagood avatar Jan 13 '22 12:01 scagood

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.

fwextensions avatar Jun 03 '22 07:06 fwextensions