Skip to content

feat: allow updating draft releases#245

Closed
itoys wants to merge 1 commit intosoftprops:masterfrom
itoys:itoys/allow-to-update-draft
Closed

feat: allow updating draft releases#245
itoys wants to merge 1 commit intosoftprops:masterfrom
itoys:itoys/allow-to-update-draft

Conversation

@itoys
Copy link

@itoys itoys commented Jul 18, 2022

Allow updating draft releases

@itoys
Copy link
Author

itoys commented Jul 18, 2022

cc/ @softprops for review 🙇

@gerlero
Copy link

gerlero commented Aug 1, 2022

I'm curious, would this also upload to an existing draft release (and keep it a draft) even if the draft key is not present?

@itoys
Copy link
Author

itoys commented Aug 18, 2022

I'm curious, would this also upload to an existing draft release (and keep it a draft) even if the draft key is not present?

This is a great question! You can't update a draft release without the draft key. And looks like it's not possible to publish a draft release with this action. I think it good to have this ability

@chenrui333
Copy link
Collaborator

@itoys can you fix the merge conflicts? Thanks!

@chenrui333 chenrui333 changed the title Allow updating draft releases feat: allow updating draft releases Mar 15, 2026
@chenrui333
Copy link
Collaborator

Closing this out in favor of the docs clarification merged in #759.

Current master already supports the draft-reuse behavior this PR was targeting:

  • keep the reused release as a draft when draft: true is set
  • reuse the same draft release and publish it after upload when draft is omitted

Fresh verification:

If you still see a different draft-update gap on a current release, please open a fresh issue with a minimal repro.

@chenrui333 chenrui333 closed this Mar 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants