John Evans
John Evans

Reputation: 7393

Transferring a dart library to another owner in pub.dartlang.org

Since pub uses my identity for the publish, how would I go about transferring control to someone else, yet still allow them to publish releases to the same project? Maybe this is trivial; I've never tried it.

Upvotes: 6

Views: 499

Answers (2)

jonasfj
jonasfj

Reputation: 2439

Update: It is now possible to invite new uploaders using the admin tab on the package page on pub.dev website.

Inviting an uploader

Upvotes: 2

Alexandre Ardhuin
Alexandre Ardhuin

Reputation: 76283

You can use pub uploader [options] {add/remove} <email>.

Once the new uploader added, you can remove yourself.

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)

Upvotes: 7

Related Questions