由于pub使用我的身份进行发布,我如何将控制转移给其他人,但仍然允许他们将发布版本发布到同一个项目?也许这是微不足道的;我从未尝试过。
答案 0 :(得分:4)
您可以使用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)
答案 1 :(得分:0)