-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add production_delivery and promotion workflows
- Loading branch information
1 parent
4405a44
commit f09446b
Showing
8 changed files
with
193 additions
and
8 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
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
docker: | ||
- image: cimg/android:2024.08.1-node | ||
resource_class: small | ||
shell: /bin/bash -eo pipefail | ||
environment: | ||
FASTLANE_SKIP_UPDATE_CHECK: true | ||
steps: | ||
- checkout | ||
- install_node_modules | ||
- install_fastlane: | ||
directory: android | ||
- run: | ||
name: '[FL] Google PlayStore Promotion' | ||
command: bundle exec fastlane android promote | ||
working_directory: native | ||
- run: | ||
name: Remove Beta Flag from Github Release | ||
command: yarn github-promote-release promote --platform android --github-private-key ${GITHUB_PRIVATE_KEY} --owner ${CIRCLE_PROJECT_USERNAME} --repo ${CIRCLE_PROJECT_REPONAME} | ||
working_directory: tools |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
parameters: | ||
production_delivery: | ||
description: Whether to deliver the build to production. | ||
type: boolean | ||
macos: | ||
xcode: 16.1.0 | ||
environment: | ||
FASTLANE_SKIP_UPDATE_CHECK: true | ||
steps: | ||
- checkout | ||
- install_node_modules | ||
- install_fastlane: | ||
directory: ios | ||
- run: | ||
name: '[FL] Apple AppStore Promotion' | ||
command: bundle exec fastlane ios promote | ||
working_directory: native | ||
- run: | ||
name: Remove Beta Flag from Github Release | ||
command: yarn github-promote-release promote --platform ios --github-private-key ${GITHUB_PRIVATE_KEY} --owner ${CIRCLE_PROJECT_USERNAME} --repo ${CIRCLE_PROJECT_REPONAME} | ||
working_directory: tools | ||
- notify |
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
when: | ||
and: | ||
- << pipeline.parameters.api_triggered >> | ||
- equal: [<< pipeline.parameters.workflow_type >>, production_delivery] | ||
jobs: | ||
- bump_version: | ||
context: | ||
- github | ||
prepare_delivery: true | ||
|
||
- build_android: | ||
context: | ||
- app_signing_android | ||
requires: | ||
- bump_version | ||
- deliver_android: | ||
production_delivery: true | ||
context: | ||
- github | ||
- gruene_google_playstore | ||
requires: | ||
- build_android | ||
|
||
- build_ios: | ||
context: | ||
- app_signing_ios | ||
requires: | ||
- bump_version | ||
- deliver_ios: | ||
production_delivery: true | ||
context: | ||
- github | ||
- gruene_apple_appstore | ||
requires: | ||
- build_ios |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
when: | ||
and: | ||
- << pipeline.parameters.api_triggered >> | ||
- equal: [<< pipeline.parameters.workflow_type >>, promotion] | ||
jobs: | ||
- promote_android: | ||
context: | ||
- github | ||
- gruene_google_playstore | ||
|
||
- promote_ios: | ||
context: | ||
- github | ||
- gruene_apple_appstore |
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