aws-cfn-resource-specs icon indicating copy to clipboard operation
aws-cfn-resource-specs copied to clipboard

GitHub API: How to Label Latest Release?

Open ScriptAutomate opened this issue 4 years ago • 1 comments

Currently, the Latest Release in the Releases tab has to be manually set via the GitHub repository webpage.

Even though each release is tied to a tag set with git, GitHub doesn't automatically label the latest release as Latest Release.

Need to investigate. This will likely require use of the GitHub API in order to set. Investigating how something like PyGithub can solve this problem would be nice.

Should also evaluate the GitHub Action Release Drafter: https://github.com/release-drafter/release-drafter. This could allow for the latest changelog markdown to be injected into the release documentation.

ScriptAutomate avatar Nov 06 '19 21:11 ScriptAutomate

In my botostubs project, I handle this with one curl command. It should be available in the container that runs the action right? Otherwise, I suppose you could add it in your dependency step at https://github.com/ScriptAutomate/aws-cfn-resource-specs/blob/master/.github/workflows/cfnspecaudit.yml#L19

Here's the script that does the job for me. Feel free to steal it:

https://github.com/jeshan/botostubs/blob/master/release.sh#L12-L16

jeshan avatar May 29 '20 18:05 jeshan

I'm closing this issue out, as this repository is no longer maintained. The repo is being archived, but others are free to fork and maintain a version if they'd like.

ScriptAutomate avatar May 02 '23 19:05 ScriptAutomate