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

Need way to not touching draft/prerelease status #39

Closed
RadxaYuntian opened this issue Nov 8, 2022 · 2 comments
Closed

Need way to not touching draft/prerelease status #39

RadxaYuntian opened this issue Nov 8, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@RadxaYuntian
Copy link
Contributor

We are using GitHub to build system images for our products, so we created custom actions to build images, and use this action to upload the artifacts. The per-product workflow first runs a job to create an empty release, then uses matrix to build multiple images in parallel, each uploading their artifacts individually.

This scheme worked well, but now we are trying to mark our (automatic) release as prerelease first, and then test them to promote as official release. This is when we discovered that the prerelease status is overwritten by this action. This becomes problematic when we also have some workflows that want to create normal release, so we will have to update every workflows and custom actions to pass their prerelease and draft status.

What we want is for the action to upload-to-github-release and nothing more. I believe this is what actions/upload-release-asset was doing but that one was archived. Their suggested alternative does not support uploading to existing releases AFAICT so we settled with this action.

@owent owent self-assigned this Nov 8, 2022
@owent owent added enhancement New feature or request bug Something isn't working and removed enhancement New feature or request labels Nov 8, 2022
@owent
Copy link
Member

owent commented Nov 8, 2022

Thanks for the suggestion, I will fix this problem several days later.

@owent owent closed this as completed in b19e001 Nov 9, 2022
@owent
Copy link
Member

owent commented Nov 9, 2022

v1.3.8 is released and title, draft and prerelease status will not be changed now if draft and prerelease options are unset.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants