如何删除 hex 上的 elixir 包

How to remove elixir package on hex

我想删除已发布的十六进制长生不老药包。我已经知道我只能在使用此命令创建后一小时内将其删除。

mix hex.publish --revert VERSION

但是,是否有另一种方法可以删除在 hex 上创建后一个多小时的包?感谢您的每一个建议。

引用hex.publish混合任务的documentation

If you want to revert a publication that is more than one hour old you need to contact an administrator.

您可以将包恢复到没有版本的起点。

mix hex.publish --revert 0.0.1

这将恢复已发布的 0.0.1 版本,并使包中没有代码,只有名称,直到管理员按要求删除包。