-
Notifications
You must be signed in to change notification settings - Fork 12
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
Delete old release and create new release before uploading to it #15
Comments
As the jobs run in parallel, I think that this could be hard to coordinate. Would it be simpler to tell the other tools to look for |
Why? If we delete the old and make a new release when the sha of the release doesn't match the sha of the currently running build, then only the first of the running builds will trigger the re-creation of the release. Because for the other builds, the sha will match. |
What if two builds try to delete the release at the same time? Or what if one deletes the release and starts uploading the artifacts, and then another job deletes the newly created release because the API has returned cached results? |
Apparently this is the way how to do it: https://github.com/AppImage/AppImageUpdate/blob/main/.github/workflows/main.yml
it then looks like this: |
Currently, https://github.com/probonopd/static-tools/releases/tag/continuous shows eda9edf even though the files attached to it are from newer commits.
We need to
continuous
release belongs to the same sha commit as what we are currently buildingcontinuous
release and create a new one before we start uploading to it@Tachi107 do you know how to do this?
The text was updated successfully, but these errors were encountered: