Skip to content

Commit

Permalink
Temporary Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobkoerber committed Jan 28, 2024
1 parent d10a32b commit 967f63e
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/deploy_beta.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Deploy Beta to TestFlight and Play Store

on:
workflow_dispatch:
release:
types: [ published ]

Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions lib/navigation_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,11 @@ class NavigationService {

List<Widget> 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(
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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'
Expand Down

0 comments on commit 967f63e

Please sign in to comment.