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:
parent
5654f2f4e2
commit
621604dc66
|
@ -34,7 +34,7 @@ function publishModule {
|
||||||
node scripts/publish/pubspec_cleaner.js --pubspec-file=$PUBLISH_DIR/pubspec.yaml
|
node scripts/publish/pubspec_cleaner.js --pubspec-file=$PUBLISH_DIR/pubspec.yaml
|
||||||
|
|
||||||
if [[ ! $DRY_RUN ]]; then
|
if [[ ! $DRY_RUN ]]; then
|
||||||
(cd $PUBLISH_DIR && pub publish)
|
(cd $PUBLISH_DIR && pub publish -f)
|
||||||
fi;
|
fi;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue