[flutter] Fix publish.sh to run dart pub publish without capture

This commit is contained in:
Mario Zechner 2025-10-29 14:21:45 +01:00
parent 58e30c494a
commit 63e3e010fb

View File

@ -23,11 +23,11 @@ else
fi
log_action "Publishing to Dart Pub"
if DART_OUTPUT=$(dart pub publish 2>&1); then
# Don't capture output so user can interact with the confirmation prompt
if dart pub publish; then
log_ok
log_summary "✓ Flutter package published successfully"
else
log_fail
log_error_output "$DART_OUTPUT"
exit 1
fi