5

由于 pub 使用我的身份进行发布,我将如何将控制权转移给其他人,但仍然允许他们将发布发布到同一个项目?也许这是微不足道的;我从来没有尝试过。

4

2 回答 2

6

您可以使用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)
于 2013-12-26T14:44:30.213 回答
0

更新:现在可以使用网站包页面上的管理选项卡pub.dev邀请新的上传者。

邀请上传者

于 2021-02-24T13:41:48.843 回答