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
[PRO] Nightly stopped publishing releases #3541
Comments
Hmmm I saw that happening a couple of times myself... I'm not sure why, it might be some sort of github api bug... will look into it once more. Thanks for reporting ayman! 🙏 |
yes, this definitely looks like some sort of bug in github... will come up with a workaround though... |
It makes no sense, but I saw it happens some times... the release will be created as a draft, even though there's nothing telling it to do so. Editing the release later might do the trick, hopefully. closes #3541 Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
just tested it multiple times in a project of mine, got it to reproduce the issue once, even with this patch... I have no idea why it happens though... I'm thinking... maybe some caching thing when deleting the previous nightly tag? I have no idea at this point :( |
okay, at this point I'm fairly sure this is a github bug... opened a ticket for them, will revert part of #3547 https://support.github.com/ticket/personal/0/1883035 <- probably not visible for y'all, but just so I can track it later. |
added request id logs so we can track this in the future, as github support also can't reproduce this |
got one request id of a failure, reported. |
after many exchanged emails, my best guess is that its some sort of eventual consistency issue on github, so I added a 5s sleep after deleting the release & tag to prevent re-creating it right away what seems to be happening is that both the release deletion and creation requests arrive at the same time/out of order, so the creation is processed first (which we then handle as an edit) and after that it deletes it, then when we edit it, because the tag was deleted, it set the release to draft. I did test it a bit and it seems to be working, so I'll close this once v1.15 is released if everything works out well :) |
What happened?
The nightly release doesn't get published even though
publish_release
is set totrue
. It creates a draft release without publishing it on GitHub.How can we reproduce this?
goreleaser version
goreleaser v1.12.3-pro
log
GoReleaser Check
Search
Code of Conduct
Additional context
No response
The text was updated successfully, but these errors were encountered: