Skip to content

Conversation

o-mago
Copy link
Contributor

@o-mago o-mago commented Jul 11, 2023

Creates a new input latest to allow publish or update published releases with the github API parameter make_latest:
https://docs.github.com/en/rest/releases/releases?apiVersion=2022-11-28#create-a-release
Three values are possible:

  • true
  • false
  • legacy*

It will only be applied if the release is not a draft or a prerelease
Nowadays all releases are published as latest by default

*legacy specifies that the latest release should be determined based on the release creation date and higher semantic version

fixes #1348

@o-mago
Copy link
Contributor Author

o-mago commented Jul 11, 2023

@jetersen could you review it, please? 😁

Copy link
Member

@jetersen jetersen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@jetersen jetersen merged commit ff929b5 into release-drafter:master Jul 12, 2023
@jetersen jetersen added the type: feature New feature or request label Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants