
Now that we don't require the Dart SDK to be in your path, it's hard to run ./dev/update_packages.dart. Instead, you can now run `flutter update-packages`. Fixes #1906
18 lines
352 B
Bash
Executable File
18 lines
352 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
if [ $TRAVIS_PULL_REQUEST = "false" ]; then
|
|
echo $KEY_FILE | base64 --decode > gcloud_key_file.json
|
|
fi
|
|
|
|
set -x
|
|
|
|
# Download dependencies flutter
|
|
./bin/flutter --version
|
|
./bin/flutter update-packages
|
|
|
|
if [ $TRAVIS_PULL_REQUEST = "false" ]; then
|
|
export CLOUDSDK_CORE_DISABLE_PROMPTS=1
|
|
curl https://sdk.cloud.google.com | bash
|
|
fi
|