Skip to content

Add workaround for action mishandling of draft: true -> false transition#443

Closed
huonw wants to merge 1 commit into
pantsbuild:mainfrom
huonw:huonw/release-fix-again
Closed

Add workaround for action mishandling of draft: true -> false transition#443
huonw wants to merge 1 commit into
pantsbuild:mainfrom
huonw:huonw/release-fix-again

Conversation

@huonw

@huonw huonw commented Dec 11, 2024

Copy link
Copy Markdown
Contributor

This works around softprops/action-gh-release not being able to properly "publish" a release by changing draft: true to draft: false.

The intention is that the step with draft: false would find the existing draft release and update it, but, previously, the action would fail to find the existing draft release and instead create a duplicate one. The old behaviour is visible (to people who can see draft releases) with v0.12.3-beta.0 and -beta.1:

image

The particular new version of the action is:

@huonw

huonw commented Dec 11, 2024

Copy link
Copy Markdown
Contributor Author

Ah, gonna do this with a branch in this repo, to be able test from the branch. #444

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant