actions / create-release

An Action to create releases via the GitHub Release API
MIT License
1.34k stars 303 forks source link

Add a changelog_path parameter to make releases based on the latest changelog entry #89

Open mec07 opened 4 years ago

mec07 commented 4 years ago

The way that I would like to use this action is to make releases based upon the latest changelog entry. The way it is now, I need to first tag it and then it will do the release. That involves a manual step (i.e. the tagging), so at that point I might as well just do the release manually. I already keep a changelog, so I would rather it just get the version and body from the latest change and use that for the release.

The tag is constructed from the version of the latest change, i.e. v{latest_version}. The body is extracted from the body of the latest change.

Please let me know sooner rather than later whether or not you would like to merge this feature. If not, I will just make my own action. Thanks!

mec07 commented 4 years ago

I can see that the latest changes to main have broken this PR. I will plan on fixing it on Friday.