Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add latest input #1348

Merged
merged 8 commits into from Jul 12, 2023
Merged

feat: add latest input #1348

merged 8 commits into from Jul 12, 2023

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
2 checks passed
@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.

None yet

2 participants