generated from nimblehq/git-template
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#198] Add release notes for Android staging/production and iOS staging
- Loading branch information
1 parent
8f16547
commit ff16640
Showing
13 changed files
with
66 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,10 +57,15 @@ jobs: | |
- name: Build Android apk | ||
run: flutter build apk --flavor production --release --build-number $GITHUB_RUN_NUMBER | ||
|
||
- name: Get PR information | ||
uses: 8BitJonny/[email protected] | ||
id: PR | ||
|
||
- name: Deploy Android Production to Firebase | ||
uses: wzieba/[email protected] | ||
with: | ||
appId: ${{ vars.FIREBASE_ANDROID_APP_ID }} | ||
serviceCredentialsFileContent: ${{ secrets.FIREBASE_DISTRIBUTION_CREDENTIAL_JSON }} | ||
groups: ${{ vars.FIREBASE_DISTRIBUTION_TESTER_GROUPS }} | ||
releaseNotes: ${{ steps.PR.outputs.pr_body }} | ||
file: build/app/outputs/flutter-apk/app-production-release.apk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,10 +49,15 @@ jobs: | |
- name: Build Android apk | ||
run: flutter build apk --flavor staging --debug --build-number $GITHUB_RUN_NUMBER | ||
|
||
- name: Get PR information | ||
uses: 8BitJonny/[email protected] | ||
id: PR | ||
|
||
- name: Deploy Android Staging to Firebase | ||
uses: wzieba/[email protected] | ||
with: | ||
appId: ${{ vars.FIREBASE_ANDROID_APP_ID }} | ||
serviceCredentialsFileContent: ${{ secrets.FIREBASE_DISTRIBUTION_CREDENTIAL_JSON }} | ||
groups: ${{ vars.FIREBASE_DISTRIBUTION_TESTER_GROUPS }} | ||
releaseNotes: ${{ steps.PR.outputs.pr_title }} | ||
file: build/app/outputs/flutter-apk/app-staging-debug.apk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,6 +52,10 @@ jobs: | |
run: | | ||
echo -e "$ENV" > .env.staging | ||
- name: Get PR information | ||
uses: 8BitJonny/[email protected] | ||
id: PR | ||
|
||
- name: Run code generator | ||
run: flutter packages pub run build_runner build --delete-conflicting-outputs | ||
|
||
|
@@ -65,5 +69,7 @@ jobs: | |
run: cd ./ios && bundle exec fastlane sync_adhoc_staging_signing | ||
|
||
- name: Deploy to Firebase | ||
env: | ||
RELEASE_NOTE_CONTENT: ${{ steps.PR.outputs.pr_title }} | ||
run: | | ||
cd ./ios && bundle exec fastlane build_and_upload_staging_app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,10 +51,15 @@ jobs: | |
- name: Build Android apk | ||
run: flutter build apk --flavor production --release --build-number $GITHUB_RUN_NUMBER | ||
|
||
- name: Get PR information | ||
uses: 8BitJonny/[email protected] | ||
id: PR | ||
|
||
- name: Deploy Android Production to Firebase | ||
uses: wzieba/[email protected] | ||
with: | ||
appId: ${{#mustacheCase}}vars.FIREBASE_ANDROID_APP_ID{{/mustacheCase}} | ||
serviceCredentialsFileContent: ${{#mustacheCase}}secrets.FIREBASE_DISTRIBUTION_CREDENTIAL_JSON{{/mustacheCase}} | ||
groups: ${{#mustacheCase}}vars.FIREBASE_DISTRIBUTION_TESTER_GROUPS{{/mustacheCase}} | ||
releaseNotes: ${{#mustacheCase}}steps.PR.outputs.pr_body{{/mustacheCase}} | ||
file: build/app/outputs/flutter-apk/app-production-release.apk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,10 +43,15 @@ jobs: | |
- name: Build Android apk | ||
run: flutter build apk --flavor staging --debug --build-number $GITHUB_RUN_NUMBER | ||
|
||
- name: Get PR information | ||
uses: 8BitJonny/[email protected] | ||
id: PR | ||
|
||
- name: Deploy Android Staging to Firebase | ||
uses: wzieba/[email protected] | ||
with: | ||
appId: ${{#mustacheCase}}vars.FIREBASE_ANDROID_APP_ID{{/mustacheCase}} | ||
serviceCredentialsFileContent: ${{#mustacheCase}}secrets.FIREBASE_DISTRIBUTION_CREDENTIAL_JSON{{/mustacheCase}} | ||
groups: ${{#mustacheCase}}vars.FIREBASE_DISTRIBUTION_TESTER_GROUPS{{/mustacheCase}} | ||
releaseNotes: ${{#mustacheCase}}steps.PR.outputs.pr_title{{/mustacheCase}} | ||
file: build/app/outputs/flutter-apk/app-staging-debug.apk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,6 +46,10 @@ jobs: | |
run: | | ||
echo -e "$ENV" > .env.staging | ||
- name: Get PR information | ||
uses: 8BitJonny/[email protected] | ||
id: PR | ||
|
||
- name: Run code generator | ||
run: flutter packages pub run build_runner build --delete-conflicting-outputs | ||
|
||
|
@@ -59,5 +63,7 @@ jobs: | |
run: cd ./ios && bundle exec fastlane sync_adhoc_staging_signing | ||
|
||
- name: Deploy to Firebase | ||
env: | ||
RELEASE_NOTE_CONTENT: ${{ steps.PR.outputs.pr_title }} | ||
run: | | ||
cd ./ios && bundle exec fastlane build_and_upload_staging_app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,10 +51,15 @@ jobs: | |
- name: Build Android apk | ||
run: flutter build apk --flavor production --release --build-number $GITHUB_RUN_NUMBER | ||
|
||
- name: Get PR information | ||
uses: 8BitJonny/[email protected] | ||
id: PR | ||
|
||
- name: Deploy Android Production to Firebase | ||
uses: wzieba/[email protected] | ||
with: | ||
appId: ${{ vars.FIREBASE_ANDROID_APP_ID }} | ||
serviceCredentialsFileContent: ${{ secrets.FIREBASE_DISTRIBUTION_CREDENTIAL_JSON }} | ||
groups: ${{ vars.FIREBASE_DISTRIBUTION_TESTER_GROUPS }} | ||
file: build/app/outputs/flutter-apk/app-production-release.apk | ||
releaseNotes: ${{ steps.PR.outputs.pr_body }} | ||
file: build/app/outputs/flutter-apk/app-production-debug.apk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,10 +43,15 @@ jobs: | |
- name: Build Android apk | ||
run: flutter build apk --flavor staging --debug --build-number $GITHUB_RUN_NUMBER | ||
|
||
- name: Get PR information | ||
uses: 8BitJonny/[email protected] | ||
id: PR | ||
|
||
- name: Deploy Android Staging to Firebase | ||
uses: wzieba/[email protected] | ||
with: | ||
appId: ${{ vars.FIREBASE_ANDROID_APP_ID }} | ||
serviceCredentialsFileContent: ${{ secrets.FIREBASE_DISTRIBUTION_CREDENTIAL_JSON }} | ||
groups: ${{ vars.FIREBASE_DISTRIBUTION_TESTER_GROUPS }} | ||
releaseNotes: ${{ steps.PR.outputs.pr_title }} | ||
file: build/app/outputs/flutter-apk/app-staging-debug.apk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,6 +46,17 @@ jobs: | |
run: | | ||
echo -e "$ENV" > .env.staging | ||
- name: Get PR information | ||
uses: 8BitJonny/[email protected] | ||
id: PR | ||
|
||
- name: Generate release notes | ||
id: generate-release-notes | ||
env: | ||
PR_TITLE: ${{ steps.PR.outputs.pr_title }} | ||
run: | | ||
echo "RELEASE_NOTE_CONTENT=$PR_TITLE" >> $GITHUB_ENV | ||
- name: Run code generator | ||
run: flutter packages pub run build_runner build --delete-conflicting-outputs | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters