Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Release Template for GitHub

Tags:

github

Is there a way to add a .github/release_template.md similar to pull requests, so that when you are drafting a new release, it uses the template?

I've seen https://github.com/apps/release-drafter and alike that you can add to your GitHub, but was wondering if this is natively supported.

like image 448
Kousha Avatar asked Jun 27 '19 20:06

Kousha


2 Answers

No. Templates are only supported for issues and pull requests.

like image 110
Chris Avatar answered Oct 14 '22 05:10

Chris


As of October 2021, you can now add a .github/release.yml file to do some autopopulation of the release notes:

https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes#configuring-automatically-generated-release-notes

Right now it is a bit limited, and needs a bit of extra functionality to become a full template, but I think moving forward that will be the file you'd be looking for in this situation.

like image 38
Edwin Avatar answered Oct 14 '22 07:10

Edwin