File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 13
13
activate_script : pub global activate flutter_plugin_tools
14
14
matrix :
15
15
- name : publishable
16
- script : ./script/check_publish.sh
16
+ script :
17
+ - flutter channel stable
18
+ - ./script/check_publish.sh
17
19
- name : format
18
20
install_script :
19
21
- wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ function check_publish() {
17
17
echo " Checking that $package_name can be published."
18
18
if [[ $( cd " $dir " && cat pubspec.yaml | grep -E " ^publish_to: none" ) ]]; then
19
19
echo " Package $package_name is marked as unpublishable. Skipping."
20
- elif (cd " $dir " && pub publish --dry-run > /dev/null); then
20
+ elif (cd " $dir " && flutter pub publish -- --dry-run > /dev/null); then
21
21
echo " Package $package_name is able to be published."
22
22
else
23
23
error " Unable to publish $package_name "
@@ -38,4 +38,4 @@ check_changed_packages
38
38
39
39
if [[ " ${# CHANGED_PACKAGE_LIST[@]} " != 0 ]]; then
40
40
check_publish " ${CHANGED_PACKAGE_LIST[@]} "
41
- fi
41
+ fi
You can’t perform that action at this time.
0 commit comments