Skip to content

Commit 621604d

Browse files
committed
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 angular#3077
1 parent 5654f2f commit 621604d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/publish/pub_publish.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function publishModule {
3434
node scripts/publish/pubspec_cleaner.js --pubspec-file=$PUBLISH_DIR/pubspec.yaml
3535

3636
if [[ ! $DRY_RUN ]]; then
37-
(cd $PUBLISH_DIR && pub publish)
37+
(cd $PUBLISH_DIR && pub publish -f)
3838
fi;
3939
}
4040

0 commit comments

Comments
 (0)