mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
[flutter] Fix publish.sh to run dart pub publish without capture
This commit is contained in:
parent
58e30c494a
commit
63e3e010fb
@ -23,11 +23,11 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
log_action "Publishing to Dart Pub"
|
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_ok
|
||||||
log_summary "✓ Flutter package published successfully"
|
log_summary "✓ Flutter package published successfully"
|
||||||
else
|
else
|
||||||
log_fail
|
log_fail
|
||||||
log_error_output "$DART_OUTPUT"
|
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
Loading…
x
Reference in New Issue
Block a user