Skip to content
This repository was archived by the owner on Mar 22, 2025. It is now read-only.

Commit 4b54fd5

Browse files
authored
Merge pull request #122 from chornerman/release/0.4.0
Release - 0.4.0
2 parents c241589 + bf93784 commit 4b54fd5

File tree

89 files changed

+10871
-193
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+10871
-193
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/sh
2+
3+
# Decrypt the file
4+
# --batch to prevent interactive command
5+
# --yes to assume "yes" for questions
6+
7+
# iOS
8+
gpg --quiet --batch --yes --decrypt --passphrase="$LARGE_SECRET_PASSPHRASE" \
9+
--output ios/Runner/GoogleService-Info.plist .github/workflows/secrets/GoogleService-Info-Production.plist.gpg
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/sh
2+
3+
# Decrypt the file
4+
# --batch to prevent interactive command
5+
# --yes to assume "yes" for questions
6+
7+
# iOS
8+
gpg --quiet --batch --yes --decrypt --passphrase="$LARGE_SECRET_PASSPHRASE" \
9+
--output ios/Runner/GoogleService-Info.plist .github/workflows/secrets/GoogleService-Info-Staging.plist.gpg

.github/workflows/deploy_production.yml

+53-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
run: flutter packages pub run build_runner build --delete-conflicting-outputs
3131

3232
- name: Decrypt large secret
33-
run: ./.github/workflows/decrypt_secret.sh
33+
run: ./.github/workflows/decrypt_secret_android.sh
3434
env:
3535
LARGE_SECRET_PASSPHRASE: ${{ secrets.LARGE_SECRET_PASSPHRASE }}
3636

@@ -45,3 +45,55 @@ jobs:
4545
groups: developer
4646
releaseNotes: Production debug build
4747
file: build/app/outputs/flutter-apk/app-production-debug.apk
48+
49+
deploy_ios_production_debug:
50+
name: Deploy iOS production debug
51+
runs-on: macOS-latest
52+
steps:
53+
- name: Check out repository
54+
uses: actions/checkout@v3
55+
56+
- name: Set up Flutter environment
57+
uses: subosito/flutter-action@v2
58+
with:
59+
flutter-version: '3.3.0'
60+
channel: 'stable'
61+
62+
- name: Get Flutter dependencies
63+
run: flutter pub get
64+
65+
- name: Generate Flutter files
66+
run: flutter packages pub run build_runner build --delete-conflicting-outputs
67+
68+
- name: Set up Ruby
69+
uses: ruby/setup-ruby@v1
70+
with:
71+
ruby-version: '3.0'
72+
bundler-cache: true
73+
working-directory: 'ios'
74+
75+
- name: Install Pod
76+
run: cd ./ios && pod install
77+
78+
- name: Decrypt large secret
79+
run: ./.github/workflows/decrypt_secret_ios_production.sh
80+
env:
81+
LARGE_SECRET_PASSPHRASE: ${{ secrets.LARGE_SECRET_PASSPHRASE }}
82+
83+
- name: Build and deploy iOS production debug to Firebase
84+
uses: maierj/[email protected]
85+
with:
86+
lane: build_and_deploy_ios
87+
subdirectory: ios
88+
env:
89+
APPLE_ID: ${{ secrets.APPLE_ID }}
90+
APP_IDENTIFIER: ${{ secrets.APP_IDENTIFIER_PRODUCTION }}
91+
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
92+
GIT_AUTHORIZATION: ${{ secrets.GIT_AUTHORIZATION }}
93+
TEMP_KEYCHAIN_NAME: ${{ secrets.TEMP_KEYCHAIN_NAME }}
94+
TEMP_KEYCHAIN_PASSWORD: ${{ secrets.TEMP_KEYCHAIN_PASSWORD }}
95+
SCHEME: production
96+
BUILD_NUMBER: $GITHUB_RUN_NUMBER
97+
FIREBASE_APP_ID: ${{ secrets.FIREBASE_APP_ID_IOS_PRODUCTION }}
98+
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
99+
RELEASE_NOTES: Production debug build

.github/workflows/deploy_staging.yml

+53-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
run: flutter packages pub run build_runner build --delete-conflicting-outputs
3232

3333
- name: Decrypt large secret
34-
run: ./.github/workflows/decrypt_secret.sh
34+
run: ./.github/workflows/decrypt_secret_android.sh
3535
env:
3636
LARGE_SECRET_PASSPHRASE: ${{ secrets.LARGE_SECRET_PASSPHRASE }}
3737

@@ -46,3 +46,55 @@ jobs:
4646
groups: developer
4747
releaseNotes: Staging debug build
4848
file: build/app/outputs/flutter-apk/app-staging-debug.apk
49+
50+
deploy_ios_staging_debug:
51+
name: Deploy iOS staging debug
52+
runs-on: macOS-latest
53+
steps:
54+
- name: Check out repository
55+
uses: actions/checkout@v3
56+
57+
- name: Set up Flutter environment
58+
uses: subosito/flutter-action@v2
59+
with:
60+
flutter-version: '3.3.0'
61+
channel: 'stable'
62+
63+
- name: Get Flutter dependencies
64+
run: flutter pub get
65+
66+
- name: Generate Flutter files
67+
run: flutter packages pub run build_runner build --delete-conflicting-outputs
68+
69+
- name: Set up Ruby
70+
uses: ruby/setup-ruby@v1
71+
with:
72+
ruby-version: '3.0'
73+
bundler-cache: true
74+
working-directory: 'ios'
75+
76+
- name: Install Pod
77+
run: cd ./ios && pod install
78+
79+
- name: Decrypt large secret
80+
run: ./.github/workflows/decrypt_secret_ios_staging.sh
81+
env:
82+
LARGE_SECRET_PASSPHRASE: ${{ secrets.LARGE_SECRET_PASSPHRASE }}
83+
84+
- name: Build and deploy iOS staging debug to Firebase
85+
uses: maierj/[email protected]
86+
with:
87+
lane: build_and_deploy_ios
88+
subdirectory: ios
89+
env:
90+
APPLE_ID: ${{ secrets.APPLE_ID }}
91+
APP_IDENTIFIER: ${{ secrets.APP_IDENTIFIER_STAGING }}
92+
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
93+
GIT_AUTHORIZATION: ${{ secrets.GIT_AUTHORIZATION }}
94+
TEMP_KEYCHAIN_NAME: ${{ secrets.TEMP_KEYCHAIN_NAME }}
95+
TEMP_KEYCHAIN_PASSWORD: ${{ secrets.TEMP_KEYCHAIN_PASSWORD }}
96+
SCHEME: staging
97+
BUILD_NUMBER: $GITHUB_RUN_NUMBER
98+
FIREBASE_APP_ID: ${{ secrets.FIREBASE_APP_ID_IOS_STAGING }}
99+
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
100+
RELEASE_NOTES: Staging debug build
Binary file not shown.
Binary file not shown.

.gitignore

-4
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,3 @@ app.*.map.json
5757
**/ios/.envfile
5858
.env
5959
.env.staging
60-
61-
## Fastlane related
62-
/android/fastlane/report.xml
63-
/android/vendor/

assets/color/colors.xml

+1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
<color name="chinese_black">#15151A</color>
44
<color name="eerie_black_90">#E61E1E1E</color>
55
<color name="raisin_black">#252525</color>
6+
<color name="gainsboro">#DADADA</color>
67
</resources>
4.32 KB
Loading
4 KB
Loading

assets/images/2.0x/ic_star_active.png

4.13 KB
Loading
3.71 KB
Loading
7.97 KB
Loading
7.32 KB
Loading

assets/images/3.0x/ic_star_active.png

7.46 KB
Loading
6.7 KB
Loading

assets/images/ic_close.svg

+20
Loading

assets/images/ic_heart_active.png

1.62 KB
Loading

assets/images/ic_heart_inactive.png

1.52 KB
Loading

assets/images/ic_star_active.png

1.51 KB
Loading

assets/images/ic_star_inactive.png

1.39 KB
Loading

0 commit comments

Comments
 (0)