action-gh-release
action-gh-release copied to clipboard
Support the make_latest option
This pull request provides support for the make_latest option that is available in the GitHub API when creating and updating releases.
References:
- https://docs.github.com/en/rest/releases/releases#create-a-release
- https://docs.github.com/en/rest/releases/releases#update-a-release
- https://octokit.github.io/rest.js/v19#repos-create-release
- https://octokit.github.io/rest.js/v19#repos-update-release
Oops! I should have checked existing pull requests first. There's already #304 open for this same functionality. Most of it overlaps, but I'll leave this open in case you want to use the changes I made to github.ts to support checking whether the existing release is the latest release (when updating a release instead of creating one).
merged https://github.com/softprops/action-gh-release/pull/304 so closing this for now. thanks for the heads up though!