由于 pub 使用我的身份进行发布,我将如何将控制权转移给其他人,但仍然允许他们将版本发布到同一个项目?也许这是微不足道的;我从来没有尝试过。
最佳答案
您可以使用 pub uploader [options] {add/remove} <email>
.
添加新上传者后,您可以删除自己。
pub uploader add <new-owner-email>
pub uploader remove <old-owner-email>
$ pub uploader -h
Manage uploaders for a package on pub.dartlang.org.
Usage: pub uploader [options] {add/remove} <email>
-h, --help Print usage information for this command.
--server The package server on which the package is hosted.
(defaults to "https://pub.dartlang.org")
--package The package whose uploaders will be modified.
(defaults to the current package)
关于dart - 将 dart 库转移到 pub.dartlang.org 中的另一个所有者,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20786435/