-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Description
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.