question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Published release became draft after update

See original GitHub issue

Describe the bug

Published release became draft after update.

To Reproduce

  1. Create draft release with release-action
  2. Publish it manually
  3. Update release with option allowUpdates: true
  4. Published release became draft

Expected behavior

It would be great to have option such changeDraftDuringUpdate to be able to keep release published during update.

- uses: ncipollo/release-action@v1
  with:
    tag: v${{ env.VERSION }}
    name: v${{ env.VERSION }}
    draft: true
    changeDraftDuringUpdate: false
    allowUpdates: true
    omitBodyDuringUpdate: true
    omitNameDuringUpdate: true

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
ncipollocommented, Mar 24, 2022

Got it, thanks for providing more context. I’ll add an option to avoid applying the draft flag if the release exists.

1reaction
ilg-ulcommented, Mar 25, 2022

you can fork the action and change the default.

No problem, once you add this option I can update the repos, I use a template and I can easily re-generate the configurations.

Just make sure that the documentation warns the users on the danger of re-enabling the draft option.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Published post reverted to old draft | WordPress.com Forums
Yes, that is an old, frame-worked draft and not the final version that was published. The version that's now appearing in my Drafts...
Read more >
Feature request: Allow updating existing release #29 - GitHub
It will create a new draft, even if there is a published release with the same tag. It will update the content of...
Read more >
Review the latest changes to your site before publishing
You can review the changes made to your draft site since the last time it was published in a side-by-side comparison. On your...
Read more >
Is there any way to draft a revision of a published page or post ...
Revisionize looks like the best solution. 2019 Update: Revisionary is now owned and being actively developed by PublishPress. The original author is also ......
Read more >
Pending Review or Draft? What's the Difference in WordPress?
“Submit for Review” means “I think this post is ready for someone else to approve and publish”. If a Contributor is working on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found