Skip to content

[flutter_plugin_tools] flutter_plugin_tools should also be automatically published #85430

@cyanglaz

Description

@cyanglaz

The packages in flutter/plugins are automatically published with release
However, the flutter_plugin_tools are not automatically published.

To include flutter_plugin_tools to be automatically published, we need to update the publish-plugin script so it includes the flutter_plugin_tools.

One thing to note about is that we can't publish flutter_plugin_tools with the current logic if using the tool locally, because the tool project would not be clean, and pub requires the package to be clean before publishing. CI fails trying to publish flutter_plugin_tools because of this.

One way to do it is to make flutter_plugin_tools a special case in the end, where we can do a git clean -dfx inside script/tool, then activate the tool with pub (pub activate --global flutter_plugin_tool), then publishing the package using the activated tool instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectp: toolingAffects the flutter_plugin_tools packagepackageflutter/packages repository. See also p: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions