Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Support parsing release notes from changelog files #9276

@Goooler

Description

@Goooler

Describe the feature or problem you’d like to solve

As Keep a Changelog described, a good changelog should look like:

## [Unreleased]


## [1.1.1]
### Added
- 1
- 2
### Fixed
- 3
- 4
### Changed
- 5
- 6


## [1.1.0]
...

Now GH CLI uses release note strings or files as the input param (gh release create ${{ github.ref_name }} --notes note-string-here), we need an extra step to parse release notes from changelog files. It would be awesome to support parsing notes by GH officials.

Proposed solution

It would be easier to release on CI, to get rid of any third-party action steps.

Additional context

Do something like https://github.com/ffurrer2/extract-release-notes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    extension-ideaAn idea that could make a good GitHub CLI extensiongh-releaserelating to the gh release command

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions