chore: Do not ship unused emoji font for android and iOS
This commit is contained in:
parent
7223581b97
commit
358e66e612
3 changed files with 14 additions and 0 deletions
4
.github/workflows/main_deploy.yaml
vendored
4
.github/workflows/main_deploy.yaml
vendored
|
|
@ -60,6 +60,10 @@ jobs:
|
||||||
run: gem install fastlane -NV
|
run: gem install fastlane -NV
|
||||||
- name: Apply Google Services Patch
|
- name: Apply Google Services Patch
|
||||||
run: git apply ./scripts/enable-android-google-services.patch
|
run: git apply ./scripts/enable-android-google-services.patch
|
||||||
|
- name: Remove Emoji Font
|
||||||
|
run: |
|
||||||
|
rm -rf fonts/NotoEmoji
|
||||||
|
yq -i 'del( .flutter.fonts[] | select(.family == "NotoEmoji") )' pubspec.yaml
|
||||||
- run: flutter pub get
|
- run: flutter pub get
|
||||||
- name: Prepare Android Release Build
|
- name: Prepare Android Release Build
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
8
.github/workflows/release.yaml
vendored
8
.github/workflows/release.yaml
vendored
|
|
@ -57,6 +57,10 @@ jobs:
|
||||||
cache: true
|
cache: true
|
||||||
- name: Apply Google Services Patch
|
- name: Apply Google Services Patch
|
||||||
run: git apply ./scripts/enable-android-google-services.patch
|
run: git apply ./scripts/enable-android-google-services.patch
|
||||||
|
- name: Remove Emoji Font
|
||||||
|
run: |
|
||||||
|
rm -rf fonts/NotoEmoji
|
||||||
|
yq -i 'del( .flutter.fonts[] | select(.family == "NotoEmoji") )' pubspec.yaml
|
||||||
- run: flutter pub get
|
- run: flutter pub get
|
||||||
- name: Prepare Android Release Build
|
- name: Prepare Android Release Build
|
||||||
env:
|
env:
|
||||||
|
|
@ -120,6 +124,10 @@ jobs:
|
||||||
run: gem install fastlane -NV
|
run: gem install fastlane -NV
|
||||||
- name: Apply Google Services Patch
|
- name: Apply Google Services Patch
|
||||||
run: git apply ./scripts/enable-android-google-services.patch
|
run: git apply ./scripts/enable-android-google-services.patch
|
||||||
|
- name: Remove Emoji Font
|
||||||
|
run: |
|
||||||
|
rm -rf fonts/NotoEmoji
|
||||||
|
yq -i 'del( .flutter.fonts[] | select(.family == "NotoEmoji") )' pubspec.yaml
|
||||||
- run: flutter pub get
|
- run: flutter pub get
|
||||||
- name: Prepare Android Release Build
|
- name: Prepare Android Release Build
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/sh -ve
|
#!/bin/sh -ve
|
||||||
git apply ./scripts/enable-android-google-services.patch
|
git apply ./scripts/enable-android-google-services.patch
|
||||||
|
rm -rf fonts/NotoEmoji
|
||||||
|
yq -i 'del( .flutter.fonts[] | select(.family == "NotoEmoji") )' pubspec.yaml
|
||||||
flutter clean
|
flutter clean
|
||||||
flutter pub get
|
flutter pub get
|
||||||
cd ios
|
cd ios
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue