gradle-changelog-plugin icon indicating copy to clipboard operation
gradle-changelog-plugin copied to clipboard

Support extracting release notes file from changelog

Open Goooler opened this issue 7 months ago • 0 comments

Is your feature request related to a problem? Please describe.

Now we have to extract the release notes string and write it to shell like

https://github.com/JetBrains/gradle-changelog-plugin/blob/c3902fd5754ba2622dd101be3c97a05359142e83/.github/workflows/build.yml#L126

It would be better to support writing it to file directly, as we can pass the file to gh cli like

# Use release notes from a file
gh release create v1.2.3 -F release-notes.md

See https://github.com/cli/cli/blob/19633d38554c0dfce870d1a63703af514941d878/pkg/cmd/release/create/create.go#L122-L123.

This feature may help avoid the char escaping in issues in shell like https://github.com/ffurrer2/extract-release-notes/issues/349.

Additional context

Something related to https://github.com/ffurrer2/extract-release-notes.

Goooler avatar Apr 10 '25 08:04 Goooler