From 967f63e1b37094ac849488b78cb315f08b225631 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakob=20K=C3=B6rber?= <56073945+jakobkoerber@users.noreply.github.com> Date: Sun, 28 Jan 2024 18:14:57 +0100 Subject: [PATCH] Temporary Changes --- .github/workflows/deploy_beta.yml | 16 ++++++++++++++-- lib/navigation_service.dart | 4 ++-- pubspec.yaml | 2 +- 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy_beta.yml b/.github/workflows/deploy_beta.yml index 6790fc63..0aad7140 100644 --- a/.github/workflows/deploy_beta.yml +++ b/.github/workflows/deploy_beta.yml @@ -1,6 +1,7 @@ name: Deploy Beta to TestFlight and Play Store on: + workflow_dispatch: release: types: [ published ] @@ -48,8 +49,8 @@ jobs: with: ssh-private-key: ${{ secrets.MATCH_DEPLOY_KEY }} - - if: matrix.platform == 'ios' - name: Build and Deploy to TestFlight + - if: matrix.platform == 'ios' && github.event_name == 'release' + name: Build and Deploy With Release Notes to TestFlight run: | cd ./ios bundle exec fastlane ios_beta @@ -60,6 +61,17 @@ jobs: MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} RELEASE_NOTES: ${{ github.event.release.body }} + - if: matrix.platform == 'ios' && github.event_name != 'release' + name: Build and Deploy to TestFlight + run: | + cd ./ios + bundle exec fastlane ios_beta + env: + APP_STORE_CONNECT_API_KEY_ID: ${{ secrets.ASC_KEY_ID }} + APP_STORE_CONNECT_ISSUER_ID: ${{ secrets.ASC_ISSUER_ID }} + APP_STORE_CONNECT_API_KEY_BASE64: ${{ secrets.ASC_PRIVATE_KEY }} + MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} + - if: matrix.platform == 'android' name: Deserialize Keystore File run: cd ./android/app && echo "$ANDROID_KEYSTORE_FILE" | base64 --decode > ./upload-keystore diff --git a/lib/navigation_service.dart b/lib/navigation_service.dart index acb2dfbb..3075e316 100644 --- a/lib/navigation_service.dart +++ b/lib/navigation_service.dart @@ -116,11 +116,11 @@ class NavigationService { List actions(BuildContext context) { return [ - if (!kIsWeb && MediaQuery.sizeOf(context).width < 600) + /*if (!kIsWeb && MediaQuery.sizeOf(context).width < 600) IconButton( onPressed: () => _openStudentCardSheet(context), icon: const Icon(Icons.credit_card), - ), + ),*/ IconButton( onPressed: () { Navigator.of(context).push( diff --git a/pubspec.yaml b/pubspec.yaml index 82c9356f..732a1108 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: campus_flutter description: "A new Flutter project." publish_to: 'none' -version: 5.0.0+1 +version: 4.5.1+1 environment: sdk: '>=3.2.3 <4.0.0'