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
This commit is contained in:
Jeff Cross 2015-07-15 22:41:42 -07:00
parent 5654f2f4e2
commit 621604dc66
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}