Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Run activate before run #3506

Merged
merged 1 commit into from
Feb 3, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion script/check_publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ source "$SCRIPT_DIR/common.sh"

function check_publish() {
local failures=()
for dir in $(plugin_tools list --plugins="$1"); do
pub_command global activate flutter_plugin_tools
for dir in $(pub_command global run flutter_plugin_tools list --plugins="$1"); do
local package_name=$(basename "$dir")

echo "Checking that $package_name can be published."
Expand Down