CI: Generate GitHub releases 40/72340/1
authorAndrew Grimberg <agrimberg@linuxfoundation.org>
Mon, 6 Nov 2023 22:39:06 +0000 (14:39 -0800)
committerAndrew Grimberg <agrimberg@linuxfoundation.org>
Mon, 6 Nov 2023 22:39:06 +0000 (14:39 -0800)
commite8962033ac74b7d9087086fab644d4843d103ff8
tree74530e1d46ecfefe86fb4f69d3765f50b0321721
parentc999f1fa39bfd954cdc2d8aa85b6c5c972842f8f
CI: Generate GitHub releases

* Increase the checkout depth from 1 to 30 to handle reno needing to be
  able to find all relevant tags (current and current -1) and also pull
  the tags
* Setup Python to run reno
* Generate a reno report for the given tag and then modify the report to
  strip out all the extra garbage that is added by the report process to
  get it into a valid markdown file and not RST file
* Use `gh` cli tool to generate the release notes using the
  auto-changelog generation plus the reno release notes

Issue: RELENG-4974
Change-Id: Iff10b3b6bbf1e88708a89a12338cb042bafe42fe
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
.github/release.yml [new file with mode: 0644]
.github/workflows/release.yaml