mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2026-02-16 06:19:35 +00:00
测试安卓修改app名称
This commit is contained in:
parent
6b1edcb475
commit
6ceeb99d20
19 changed files with 1218 additions and 822 deletions
6
.github/workflows/flutter-ci.yaml
vendored
6
.github/workflows/flutter-ci.yaml
vendored
|
|
@ -87,7 +87,11 @@ jobs:
|
|||
run: flutter build apk --release
|
||||
|
||||
- name: Rename Universal APK
|
||||
run: mv build/app/outputs/flutter-apk/{app-release,app-universal-release}.apk
|
||||
run: |
|
||||
APP_NAME=$(grep '^name:' pubspec.yaml | sed 's/name: //')
|
||||
APP_VERSION=$(grep '^version:' pubspec.yaml | sed 's/version: //')
|
||||
|
||||
mv build/app/outputs/flutter-apk/{app-release,$APP_NAME-$APP_VERSION-app-universal}.apk
|
||||
|
||||
- name: Build App Bundle
|
||||
run: flutter build appbundle --release
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue