-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2282 from CruGlobal/MHP-Update-fastlane-and-run-c…
…ru-shared-lane MHP - Update fastlane version and run on cru shared lanes instead of beta lane
- Loading branch information
Showing
2 changed files
with
24 additions
and
23 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 |
---|---|---|
|
@@ -268,23 +268,25 @@ jobs: | |
run: echo -e "machine github.com\n login $CI_USER_TOKEN" >> ~/.netrc | ||
env: | ||
CI_USER_TOKEN: ${{ secrets.CI_USER_TOKEN}} | ||
- name: Bundle Install | ||
run: bundle install | ||
- name: Import App Store Connect API Key | ||
env: | ||
APP_STORE_CONNECT_API_JSON_PAYLOAD: ${{ secrets.APP_STORE_CONNECT_API_JSON_PAYLOAD }} | ||
run: echo $APP_STORE_CONNECT_API_JSON_PAYLOAD > ios/fastlane/AppleAppStoreApi.json | ||
- name: Increment Xcode Project Build Number | ||
uses: maierj/[email protected] | ||
with: | ||
lane: ios cru_shared_lane_increment_xcode_project_build_number | ||
subdirectory: ios | ||
- name: 🏗️🚀🍏 Build and push to Testflight | ||
uses: maierj/[email protected] | ||
with: | ||
lane: ios beta | ||
lane: ios cru_shared_lane_build_and_deploy_for_testflight_release is_running_in_ci:true | ||
subdirectory: ios | ||
env: | ||
TRAVIS_BRANCH: ${{ github.ref }} | ||
TRAVIS_TAG: ${{ github.ref }} | ||
TRAVIS_COMMIT_MESSAGE: ${{ github.event.head_commit.message }} | ||
TRAVIS_BUILD_NUMBER: ${{ github.run_id }} | ||
MATCH_GIT_BASIC_AUTHORIZATION_PAT: ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION_PAT }} | ||
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} | ||
FASTLANE_PASSWORD: ${{ secrets.FASTLANE_PASSWORD }} | ||
SLACK_URL: ${{ secrets.SLACK_URL }} | ||
|
||
android-deploy: | ||
runs-on: ubuntu-latest | ||
|
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 |
---|---|---|
@@ -1,20 +1,19 @@ | ||
|
||
CRU_API_KEY_PATH = "./fastlane/AppleAppStoreAPI.json" | ||
APP_RELEASE_BUNDLE_IDENTIFIER = "com.missionhub" | ||
APP_STORE_CONNECT_API_KEY_JSON_FILE_PATH = "./fastlane/AppleAppStoreAPI.json" | ||
|
||
## Fastlane Build - Project related variables | ||
CRU_FASTLANE_USERNAME="[email protected]" | ||
CRU_APP_IDENTIFIER="com.missionhub" | ||
CRU_TARGET="MissionHub" | ||
CRU_SCHEME="MissionHub" | ||
CRU_XCODEPROJ="MissionHub.xcodeproj" | ||
CRU_DEV_PORTAL_TEAM_ID="DQ48D9BF2V" | ||
## Code Signing | ||
CODE_SIGNING_APP_BUNDLE_IDS = "com.missionhub" | ||
CODE_SIGNING_PROVISIONING_PROFILE_NAMES = "match AppStore com.missionhub" | ||
CODE_SIGNING_TARGETS = "MissionHub" | ||
CODE_SIGNING_TEAM_ID = "DQ48D9BF2V" | ||
|
||
CRU_DEFAULT_BRANCH="master" | ||
CRU_SKIP_COCOAPODS="true" | ||
## Match | ||
MATCH_GIT_BRANCH = "master" | ||
MATCH_GIT_URL = "https://github.com/CruGlobal/ios-signing-credentials" | ||
MATCH_KEYCHAIN_NAME = "MissionHub" | ||
|
||
## Fastlane Build - Localization related variables | ||
CRU_SKIP_LOCALIZATION_DOWNLOAD="true" # this is handled separately through a yarn script | ||
|
||
## Fastlane Build - Code signing related variables | ||
CRU_APPSTORE_PROFILE_NAME="match AppStore com.missionhub" | ||
MATCH_KEYCHAIN_NAME=MissionHub | ||
## Gym | ||
GYM_RELEASE_APP_BUNDLE_IDENTIFIER = "com.missionhub" | ||
GYM_RELEASE_PROVISIONING_PROFILE = "match AppStore com.missionhub" | ||
GYM_RELEASE_SCHEME = "MissionHub" |