-
Notifications
You must be signed in to change notification settings - Fork 66
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
Provide a way to create releases for pre-existing tags #1094
Comments
hey! those docs were written before we had the |
Thank you! I admit I am confused by the documentation of Specifically, I do not understand how do I trigger it. Is it the usual "Actions > Release > Run workflow", or do I manually create a Github release, or both? It also says...
But I don't understand if that applies only to the |
yes, it's this, and there's a prompt for you to enter the tag re: hosting i believe that means that we can't host on our own infra using this pathway here's an example of a user of this feature: https://github.com/astral-sh/uv/actions/workflows/release.yml |
(appreciate you pointing out the docs being confusing though- i agree with you, and we should definitely improve them!!) |
I am adding
cargo dist
to my project,cargo auditable
. I would like to build binaries for the latest release, which was cut before I addedcargo dist
.As per the documentation, this is not possible today:
I have experimented with this in a fork, and indeed deleting and recreating the tag does not trigger the release workflow.
Potential solution
At least on Github actions, it is possible to let the user manually invoke a workflow for a given tag. But the workflow has to explicitly support this: https://docs.github.com/en/actions/using-workflows/manually-running-a-workflow
Allowing the workflows to be manually invoked for a specific tag would allow creating binary artifacts for pre-existing tags.
The potentially tricky bit is "what if a release already exists?", but that case needs to be handled by the workflows anyway because building binaries can fail due to a transient network error after a release has been created, and it needs to be able to recover from that regardless.
The text was updated successfully, but these errors were encountered: