File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 activate_script : pub global activate flutter_plugin_tools
1414 matrix :
1515 - name : publishable
16- script : ./script/check_publish.sh
16+ script :
17+ - flutter channel stable
18+ - ./script/check_publish.sh
1719 - name : format
1820 install_script :
1921 - 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() {
1717 echo " Checking that $package_name can be published."
1818 if [[ $( cd " $dir " && cat pubspec.yaml | grep -E " ^publish_to: none" ) ]]; then
1919 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
2121 echo " Package $package_name is able to be published."
2222 else
2323 error " Unable to publish $package_name "
@@ -38,4 +38,4 @@ check_changed_packages
3838
3939if [[ " ${# CHANGED_PACKAGE_LIST[@]} " != 0 ]]; then
4040 check_publish " ${CHANGED_PACKAGE_LIST[@]} "
41- fi
41+ fi
You can’t perform that action at this time.
0 commit comments