-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
alr publish refuses to build if a crate with same name/version exists in the loaded index #1083
Comments
I've managed to hack alire and make the It works like a charm :-) |
Thanks for the report, Stephane. Probably in this case we should check that the release doesn't exist taking into account only the community index. This is not a trivial change though with our current loading infrastructure. As for making this an overridable error with |
When publishing and checking for existing crate with same version, if the crate already exist and the force option is used, emit a warning message and continue.
) * Honor the --force option when publishing a crate (#1083) When publishing and checking for existing crate with same version, if the crate already exist and the force option is used, emit a warning message and continue. * Use Recoverable_Error to report that a crate version already exists
) * Honor the --force option when publishing a crate (#1083) When publishing and checking for existing crate with same version, if the crate already exist and the force option is used, emit a warning message and continue. * Use Recoverable_Error to report that a crate version already exists
The |
I have a local index where I populate several project crates before publishing widely.
At some time in the publish process, it is necessary to re-publish to fix issues but when you do so, you'll get the error:
and I have to remove the crate from my local repository to be able to run the command.
The
-f
(force) option does nothing.May be Alire should:
-f
option and ignore that error,The text was updated successfully, but these errors were encountered: