Skip to content

Wrong type used in chapters definition #85

Closed
@miroslavpojer

Description

@miroslavpojer

Describe the bug

The release notes generator seems to expect string in the array of chapters definition.

Expected behavior

Use proper "strong" type - yaml does support arrays.

Example

See in here:

          chapters: '[
            {"title": "Breaking Changes 💥", "label": "breaking-change"},
            {"title": "New Features 🎉", "label": "enhancement"},
            {"title": "New Features 🎉", "label": "feature"},
            {"title": "Bugfixes 🛠", "label": "bug"}
          ]'

Expected format

          chapters: [
            {"title": "Breaking Changes 💥", "label": "breaking-change"},
            {"title": "New Features 🎉", "label": "enhancement"},
            {"title": "New Features 🎉", "label": "feature"},
            {"title": "Bugfixes 🛠", "label": "bug"}
          ]

Metadata

Metadata

Assignees

Labels

breaking-changeIntroduces change, that is incompatible with last releasebugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions