action-gh-release icon indicating copy to clipboard operation
action-gh-release copied to clipboard

Support the make_latest option

Open ramsey opened this issue 2 years ago • 1 comments

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

ramsey avatar Feb 15 '23 18:02 ramsey

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).

ramsey avatar Feb 15 '23 18:02 ramsey

merged https://github.com/softprops/action-gh-release/pull/304 so closing this for now. thanks for the heads up though!

softprops avatar Mar 08 '24 21:03 softprops