mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: update to Flutter 3.7.5 (#2000)
* chore: upgrade appflowy_editor_plugins and flowy_infra * feat(appflowy_flutter): upgrade dependence and delete unused import files * fix(appflowy_flutter): fix SvgPicture upgrade issue update color to colorFilter: apply mask color when the color is not null * feat(appflowy_editor): updateflutter_svg version * chore: flutter analyze * chore: update to 3.7.5 in github action * chore: update to 3.7.5 in github action(integration test) * chore: update appflowy_editor to 0.1.2 * chore: delete appflowy_editor_test.yml under appflowy * chore: update the flutter version in github action * docs: update flutter badge image * chore: update flutter version in scripts * chore: update appflowy editor to the latest release * chore: fix flutter analyze * chore: update integration_test.yml --------- Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io> Co-authored-by: Nathan.fooo <86001920+appflowy@users.noreply.github.com>
This commit is contained in:
@ -38,9 +38,9 @@ fi
|
||||
printMessage "Setting up Flutter"
|
||||
# Get the current Flutter version
|
||||
FLUTTER_VERSION=$(flutter --version | grep -oP 'Flutter \K\S+')
|
||||
# Check if the current version is 3.3.10
|
||||
if [ "$FLUTTER_VERSION" = "3.3.10" ]; then
|
||||
echo "Flutter version is already 3.3.10"
|
||||
# Check if the current version is 3.7.5
|
||||
if [ "$FLUTTER_VERSION" = "3.7.5" ]; then
|
||||
echo "Flutter version is already 3.7.5"
|
||||
else
|
||||
# Get the path to the Flutter SDK
|
||||
FLUTTER_PATH=$(which flutter)
|
||||
@ -49,12 +49,12 @@ else
|
||||
current_dir=$(pwd)
|
||||
|
||||
cd $FLUTTER_PATH
|
||||
# Use git to checkout version 3.3.10 of Flutter
|
||||
git checkout 3.3.10
|
||||
# Use git to checkout version 3.7.5 of Flutter
|
||||
git checkout 3.7.5
|
||||
# Get back to current working directory
|
||||
cd "$current_dir"
|
||||
|
||||
echo "Switched to Flutter version 3.3.10"
|
||||
echo "Switched to Flutter version 3.7.5"
|
||||
fi
|
||||
|
||||
# Enable linux desktop
|
||||
|
@ -41,9 +41,9 @@ printMessage "Setting up Flutter"
|
||||
|
||||
# Get the current Flutter version
|
||||
FLUTTER_VERSION=$(flutter --version | grep -oE 'Flutter [^ ]+' | grep -oE '[^ ]+$')
|
||||
# Check if the current version is 3.3.10
|
||||
if [ "$FLUTTER_VERSION" = "3.3.10" ]; then
|
||||
echo "Flutter version is already 3.3.10"
|
||||
# Check if the current version is 3.7.5
|
||||
if [ "$FLUTTER_VERSION" = "3.7.5" ]; then
|
||||
echo "Flutter version is already 3.7.5"
|
||||
else
|
||||
# Get the path to the Flutter SDK
|
||||
FLUTTER_PATH=$(which flutter)
|
||||
@ -52,12 +52,12 @@ else
|
||||
current_dir=$(pwd)
|
||||
|
||||
cd $FLUTTER_PATH
|
||||
# Use git to checkout version 3.3.10 of Flutter
|
||||
git checkout 3.3.10
|
||||
# Use git to checkout version 3.7.5 of Flutter
|
||||
git checkout 3.7.5
|
||||
# Get back to current working directory
|
||||
cd "$current_dir"
|
||||
|
||||
echo "Switched to Flutter version 3.3.10"
|
||||
echo "Switched to Flutter version 3.7.5"
|
||||
fi
|
||||
|
||||
# Enable linux desktop
|
||||
|
@ -48,9 +48,9 @@ fi
|
||||
printMessage "Setting up Flutter"
|
||||
# Get the current Flutter version
|
||||
FLUTTER_VERSION=$(flutter --version | grep -oP 'Flutter \K\S+')
|
||||
# Check if the current version is 3.3.10
|
||||
if [ "$FLUTTER_VERSION" = "3.3.10" ]; then
|
||||
echo "Flutter version is already 3.3.10"
|
||||
# Check if the current version is 3.7.5
|
||||
if [ "$FLUTTER_VERSION" = "3.7.5" ]; then
|
||||
echo "Flutter version is already 3.7.5"
|
||||
else
|
||||
# Get the path to the Flutter SDK
|
||||
FLUTTER_PATH=$(which flutter)
|
||||
@ -59,12 +59,12 @@ else
|
||||
current_dir=$(pwd)
|
||||
|
||||
cd $FLUTTER_PATH
|
||||
# Use git to checkout version 3.3.10 of Flutter
|
||||
git checkout 3.3.10
|
||||
# Use git to checkout version 3.7.5 of Flutter
|
||||
git checkout 3.7.5
|
||||
# Get back to current working directory
|
||||
cd "$current_dir"
|
||||
|
||||
echo "Switched to Flutter version 3.3.10"
|
||||
echo "Switched to Flutter version 3.7.5"
|
||||
fi
|
||||
|
||||
# Add pub cache and cargo to PATH
|
||||
|
Reference in New Issue
Block a user