-
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.
- Loading branch information
Showing
10 changed files
with
124 additions
and
28 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 |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# This workflow will build a Swift project | ||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift | ||
|
||
name: Build TestFlight | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
prepare_provisioning_profiles: | ||
name: Build TestFlight | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- name: Xcode Select Version | ||
uses: maxim-lobanov/setup-xcode@v1 | ||
with: | ||
xcode-version: '14.1' | ||
|
||
- name: Checkout Branch | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install Bundle Dependency | ||
run: | | ||
bundle install | ||
- name: Install XcodeGen | ||
run: | | ||
brew install xcodegen | ||
- name: Setup CI Keychain | ||
env: | ||
MATCH_KEYCHAIN: ${{ vars.MATCH_KEYCHAIN }} | ||
MATCH_PASSWORD: ${{ vars.MATCH_PASSWORD }} | ||
run: | | ||
bundle exec fastlane setupCIKeychain | ||
- name: Change Build Number | ||
run: | | ||
./Tooling/change_build_number.sh ${{ github.run_number }} | ||
- name: Setup Project | ||
run: | | ||
./setup.sh | ||
- name: Build IPA and Upload to TestFlight using Fastlane | ||
env: | ||
APP_STORE_CONNECT_API_KEY_IN_HOUSE: ${{ vars.APP_STORE_CONNECT_API_KEY_IN_HOUSE }} | ||
APP_STORE_CONNECT_API_KEY_ISSUER_ID: ${{ vars.APP_STORE_CONNECT_API_KEY_ISSUER_ID }} | ||
APP_STORE_CONNECT_API_KEY_IS_KEY_CONTENT_BASE64: ${{ vars.APP_STORE_CONNECT_API_KEY_IS_KEY_CONTENT_BASE64 }} | ||
APP_STORE_CONNECT_API_KEY_KEY: ${{ vars.APP_STORE_CONNECT_API_KEY_KEY }} | ||
APP_STORE_CONNECT_API_KEY_KEY_ID: ${{ vars.APP_STORE_CONNECT_API_KEY_KEY_ID }} | ||
MATCH_GIT_BASIC_AUTHORIZATION: ${{ vars.MATCH_GIT_BASIC_AUTHORIZATION }} | ||
MATCH_KEYCHAIN: ${{ vars.MATCH_KEYCHAIN }} | ||
MATCH_PASSWORD: ${{ vars.MATCH_PASSWORD }} | ||
run: | | ||
bundle exec fastlane build_testflight |
This file was deleted.
Oops, something went wrong.
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,6 @@ | ||
app_identifier("com.scandocs.ios") # The bundle identifier of your app | ||
apple_id("[email protected]") # Your Apple Developer Portal username | ||
|
||
|
||
# For more information about the Appfile, see: | ||
# https://docs.fastlane.tools/advanced/#appfile |
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,11 @@ | ||
#!/bin/bash | ||
|
||
# Input Param | ||
new_build_number="$1" | ||
|
||
# Change BUILD_NUMBER in .xcconfig files | ||
echo -e "\033[0;33mChange BUILD_NUMBER in all .xcconfig files into $new_build_number...\033[0m" | ||
xcconfig_path="Configuration" | ||
|
||
find "$xcconfig_path" -type f -name "*.xcconfig" -exec sed -i '' -e "s/BUILD_NUMBER = .*/BUILD_NUMBER = $new_build_number/" {} \; | ||
echo -e "\033[0;32m✅ Successfully update BUILD_NUMBER to $new_build_number in all .xcconfig files\033[0m" |
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