Skip to content
This repository has been archived by the owner on Oct 26, 2024. It is now read-only.

Commit

Permalink
fix: upgrade flutter to 3.22.2
Browse files Browse the repository at this point in the history
  • Loading branch information
kjxbyz committed Jun 8, 2024
1 parent 64e313d commit eafa2df
Show file tree
Hide file tree
Showing 12 changed files with 43 additions and 641 deletions.
2 changes: 1 addition & 1 deletion .fvmrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"flutter": "3.22.1"
"flutter": "3.22.2"
}
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ jobs:
uses: subosito/flutter-action@v2
with:
channel: 'stable'
flutter-version: '3.22.1'
flutter-version: '3.22.2'

- name: Configure .env for development
if: github.event.inputs.env == 'development'
Expand Down Expand Up @@ -263,7 +263,7 @@ jobs:
uses: subosito/flutter-action@v2
with:
channel: 'stable'
flutter-version: '3.22.1'
flutter-version: '3.22.2'

- name: Configure .env for development
if: github.event.inputs.env == 'development'
Expand Down Expand Up @@ -397,7 +397,7 @@ jobs:
uses: subosito/flutter-action@v2
with:
channel: 'stable'
flutter-version: '3.22.1'
flutter-version: '3.22.2'

- name: Configure .env for development
if: github.event.inputs.env == 'development'
Expand Down Expand Up @@ -512,7 +512,7 @@ jobs:
uses: subosito/flutter-action@v2
with:
channel: 'stable'
flutter-version: '3.22.1'
flutter-version: '3.22.2'

- name: Configure .env for development
if: github.event.inputs.env == 'development'
Expand Down Expand Up @@ -623,7 +623,7 @@ jobs:
uses: subosito/flutter-action@v2
with:
channel: 'stable'
flutter-version: '3.22.1'
flutter-version: '3.22.2'

- name: Configure .env for development
if: github.event.inputs.env == 'development'
Expand Down Expand Up @@ -785,7 +785,7 @@ jobs:
uses: subosito/flutter-action@v2
with:
channel: 'stable'
flutter-version: '3.22.1'
flutter-version: '3.22.2'

- name: Configure .env for development
if: github.event.inputs.env == 'development'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
uses: subosito/flutter-action@v2
with:
channel: 'stable'
flutter-version: '3.22.1'
flutter-version: '3.22.2'

- name: Configure .env
run: |
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
uses: subosito/flutter-action@v2
with:
channel: 'stable'
flutter-version: '3.22.1'
flutter-version: '3.22.2'

- name: Configure .env
run: |
Expand Down Expand Up @@ -153,7 +153,7 @@ jobs:
uses: subosito/flutter-action@v2
with:
channel: 'stable'
flutter-version: '3.22.1'
flutter-version: '3.22.2'

- name: Configure .env
run: |
Expand Down Expand Up @@ -263,7 +263,7 @@ jobs:
uses: subosito/flutter-action@v2
with:
channel: 'stable'
flutter-version: '3.22.1'
flutter-version: '3.22.2'

- name: Configure .env
run: |
Expand Down
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ xcrun simctl runtime add "~/iOS_17.0.1_Simulator_Runtime.dmg"

## Release

app打包发生变化,这样发布到蒲公英的版本号,会带有commit信息,方便排查;发布到Google play或app store的版本号和之前一个样。

以下脚本都在`Makefile`文件下,JetBrains / Android Studio可能需要安装`Makefile Language`插件。

### Flutter
Expand All @@ -49,7 +47,7 @@ app打包发生变化,这样发布到蒲公英的版本号,会带有commit

- 如果发布到测试环境, 运行
```shell
make ENV=<development|staging|production> internal_apk
make ENV=<dev|stg|prod> internal_apk
```

- 如果发布到生产环境, 运行
Expand All @@ -61,7 +59,7 @@ make internal_appbundle

- 如果发布到测试环境, 运行
```shell
make ENV=<development|staging|production> external_apk
make ENV=<dev|stg|prod> external_apk
```

- 如果发布到生产环境, 运行
Expand All @@ -77,7 +75,7 @@ make external_appbundle

- 如果发布到测试环境, 运行
```shell
make ENV=<development|staging|production> internal_adhoc
make ENV=<dev|stg|prod> internal_adhoc
```

- 如果发布到生产环境, 运行
Expand All @@ -89,7 +87,7 @@ make internal_appstore

- 如果发布到测试环境, 运行
```shell
make ENV=<development|staging|production> external_adhoc
make ENV=<dev|stg|prod> external_adhoc
```

- 如果发布到生产环境, 运行
Expand Down
1 change: 1 addition & 0 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ analyzer:
- lib/**/*.freezed.dart
- lib/**/*.g.dart
- lib/**/*.gen.dart
- packages/**
- test/**
linter:
rules:
Expand Down
2 changes: 1 addition & 1 deletion android/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pluginManagement {
plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
id "com.android.application" version "8.4.1" apply false
id "org.jetbrains.kotlin.android" version "1.9.24" apply false
id "org.jetbrains.kotlin.android" version "2.0.0" apply false
id "com.google.gms.google-services" version "4.4.2" apply false
}

Expand Down
141 changes: 0 additions & 141 deletions packages/aliyun_oss/pubspec.lock

This file was deleted.

4 changes: 2 additions & 2 deletions packages/aliyun_oss/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ dependencies:
http_parser: ^4.0.2
crypto: ^3.0.3
intl: ^0.19.0
dio: ^5.4.2+1
uuid: ^4.3.3
dio: ^5.4.3+1
uuid: ^4.4.0

dev_dependencies:

Expand Down
Loading

0 comments on commit eafa2df

Please sign in to comment.