From 621604dc666f9aa93a6ff9fb4ac035ecc387bd79 Mon Sep 17 00:00:00 2001 From: Jeff Cross Date: Wed, 15 Jul 2015 22:41:42 -0700 Subject: [PATCH] fix(publish): add force flag for pub publish script The pub publish process was not following through with publishing packages because the -f flag was not be provided to pub publish, causing the process to prompt for confirmation before publishing, which was causing the pub_publish.sh script to skip publishing. Closes #3077 --- scripts/publish/pub_publish.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/publish/pub_publish.sh b/scripts/publish/pub_publish.sh index d6968d2e30..b2ce0e6e96 100755 --- a/scripts/publish/pub_publish.sh +++ b/scripts/publish/pub_publish.sh @@ -34,7 +34,7 @@ function publishModule { node scripts/publish/pubspec_cleaner.js --pubspec-file=$PUBLISH_DIR/pubspec.yaml if [[ ! $DRY_RUN ]]; then - (cd $PUBLISH_DIR && pub publish) + (cd $PUBLISH_DIR && pub publish -f) fi; }