简体   繁体   English

如何删除十六进制上的elixir包

[英]How to remove elixir package on hex

I want to remove published elixir package on hex. 我想在hex上删除已发布的elixir包。 I already know that I can only delete it up to one hour after creation with this command. 我已经知道我只能在创建后使用此命令删除它一小时。

mix hex.publish --revert VERSION

But, Is there another way to delete package that is over one hour after creation on hex ? 但是,还有另一种方法可以删除在hex上创建一个多小时后的包吗? Thanks for every suggestion. 谢谢你的每一个建议。

Quoting the documentation of the hex.publish mix task: 引用hex.publish混合任务的文档

If you want to revert a publication that is more than one hour old you need to contact an administrator. 如果要还原超过一小时的发布,则需要联系管理员。

You can revert to a package back to the starting point with no version. 您可以在没有版本的情况下将包还原为起始点。

mix hex.publish --revert 0.0.1

This will revert the version 0.0.1 published and will leave the package with no code in it, just the name for now until admin will remove the package as requested. 这将恢复发布的版本0.0.1,并将保留包中没有代码,只是现在的名称,直到管理员将按要求删除包。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM