From 929261b6f879658ebc2d56115e42e2bcea1a8806 Mon Sep 17 00:00:00 2001 From: Kingkor Roy Tirtho Date: Tue, 11 Jul 2023 09:58:09 +0600 Subject: [PATCH] V3 playstore patch (#567) * chore: add playstore appbundle build step without update checker * chore: only include playstore upload binary for now * chore: update build number to patch 1 * chore: rollback * chore: rollback upload artifact --- .fvm/fvm_config.json | 2 +- .github/workflows/spotube-release-binary.yml | 7 +++++++ lib/collections/spotube_icons.dart | 2 +- lib/l10n/app_bn.arb | 2 +- lib/l10n/app_de.arb | 2 +- lib/l10n/app_en.arb | 2 +- lib/l10n/app_fr.arb | 2 +- lib/l10n/app_hi.arb | 2 +- lib/l10n/app_ja.arb | 2 +- lib/pages/settings/settings.dart | 2 +- 10 files changed, 16 insertions(+), 9 deletions(-) diff --git a/.fvm/fvm_config.json b/.fvm/fvm_config.json index 3b0122b1..ba129cfd 100644 --- a/.fvm/fvm_config.json +++ b/.fvm/fvm_config.json @@ -1,4 +1,4 @@ { - "flutterSdkVersion": "3.7.3", + "flutterSdkVersion": "3.10.0", "flavors": {} } \ No newline at end of file diff --git a/.github/workflows/spotube-release-binary.yml b/.github/workflows/spotube-release-binary.yml index 42dce3d6..f60f50b5 100644 --- a/.github/workflows/spotube-release-binary.yml +++ b/.github/workflows/spotube-release-binary.yml @@ -240,6 +240,13 @@ jobs: mv build/app/outputs/apk/release/app-release.apk build/Spotube-android-all-arch.apk mv build/app/outputs/bundle/release/app-release.aab build/Spotube-playstore-all-arch.aab + - name: Build Playstore AppBundle + run: | + echo 'ENABLE_UPDATE_CHECK=0' >> .env + dart run build_runner build --delete-conflicting-outputs --enable-experiment=records,patterns + flutter build appbundle + mv build/app/outputs/bundle/release/app-release.aab build/Spotube-playstore-all-arch.aab + - name: Debug With SSH When fails if: ${{ failure() && inputs.debug && inputs.channel == 'nightly' }} uses: mxschmitt/action-tmate@v3 diff --git a/lib/collections/spotube_icons.dart b/lib/collections/spotube_icons.dart index a80de703..754c5f7e 100644 --- a/lib/collections/spotube_icons.dart +++ b/lib/collections/spotube_icons.dart @@ -89,6 +89,6 @@ abstract class SpotubeIcons { static const timer = FeatherIcons.clock; static const logs = FeatherIcons.fileText; static const clipboard = FeatherIcons.clipboard; - static const youtube = FeatherIcons.youtube; + static const api = FeatherIcons.database; static const skip = FeatherIcons.fastForward; } diff --git a/lib/l10n/app_bn.arb b/lib/l10n/app_bn.arb index b9e276f8..10619024 100644 --- a/lib/l10n/app_bn.arb +++ b/lib/l10n/app_bn.arb @@ -249,5 +249,5 @@ "developers": "ডেভেলপার", "not_logged_in": "আপনি লগইন করা নেই", "search_mode": "অনুসন্ধান মোড", - "youtube_api_type": "YouTube API প্রকার" + "youtube_api_type": "API প্রকার" } \ No newline at end of file diff --git a/lib/l10n/app_de.arb b/lib/l10n/app_de.arb index 1b637526..9f6d67f5 100644 --- a/lib/l10n/app_de.arb +++ b/lib/l10n/app_de.arb @@ -249,5 +249,5 @@ "developers": "Entwickler", "not_logged_in": "Sie sind nicht angemeldet", "search_mode": "Suchmodus", - "youtube_api_type": "YouTube API-Typ" + "youtube_api_type": "API-Typ" } \ No newline at end of file diff --git a/lib/l10n/app_en.arb b/lib/l10n/app_en.arb index abab1e91..1ded2ac6 100644 --- a/lib/l10n/app_en.arb +++ b/lib/l10n/app_en.arb @@ -249,5 +249,5 @@ "developers": "Developers", "not_logged_in": "You're not logged in", "search_mode": "Search Mode", - "youtube_api_type": "YouTube API Type" + "youtube_api_type": "API Type" } diff --git a/lib/l10n/app_fr.arb b/lib/l10n/app_fr.arb index 681d7114..3036a9aa 100644 --- a/lib/l10n/app_fr.arb +++ b/lib/l10n/app_fr.arb @@ -249,5 +249,5 @@ "developers": "Développeurs", "not_logged_in": "Vous n'êtes pas connecté(e)", "search_mode": "Mode de recherche", - "youtube_api_type": "Type d'API YouTube" + "youtube_api_type": "Type d'API" } \ No newline at end of file diff --git a/lib/l10n/app_hi.arb b/lib/l10n/app_hi.arb index 1645b294..675c97e6 100644 --- a/lib/l10n/app_hi.arb +++ b/lib/l10n/app_hi.arb @@ -249,5 +249,5 @@ "developers": "डेवलपर्स", "not_logged_in": "आप लॉग इन नहीं हैं", "search_mode": "खोज मोड", - "youtube_api_type": "YouTube API प्रकार" + "youtube_api_type": "API प्रकार" } \ No newline at end of file diff --git a/lib/l10n/app_ja.arb b/lib/l10n/app_ja.arb index a7d64081..85172fd0 100644 --- a/lib/l10n/app_ja.arb +++ b/lib/l10n/app_ja.arb @@ -249,5 +249,5 @@ "developers": "開発", "not_logged_in": "ログインしていません", "search_mode": "検索モード", - "youtube_api_type": "YouTube APIの種類" + "youtube_api_type": "APIの種類" } \ No newline at end of file diff --git a/lib/pages/settings/settings.dart b/lib/pages/settings/settings.dart index 9a91cb2c..9e935e49 100644 --- a/lib/pages/settings/settings.dart +++ b/lib/pages/settings/settings.dart @@ -292,7 +292,7 @@ class SettingsPage extends HookConsumerWidget { }, ), AdaptiveSelectTile( - secondary: const Icon(SpotubeIcons.youtube), + secondary: const Icon(SpotubeIcons.api), title: Text(context.l10n.youtube_api_type), value: preferences.youtubeApiType, options: YoutubeApiType.values