forked from BlueWallet/BlueWallet
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master'
- Loading branch information
Showing
4 changed files
with
86 additions
and
6 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,4 @@ | ||
app_identifier(ENV["APP_IDENTIFIER"]) # The bundle identifier of your app | ||
apple_id(ENV["APPLE_ID"]) # Your Apple email ID | ||
itc_team_id(ENV["ITC_TEAM_ID"]) # App Store Connect Team ID | ||
team_id(ENV["TEAM_ID"]) # Developer Portal Team ID |
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,63 @@ | ||
# This file contains the fastlane.tools configuration | ||
# You can find the documentation at https://docs.fastlane.tools | ||
# | ||
# For a list of all available actions, check out | ||
# | ||
# https://docs.fastlane.tools/actions | ||
# | ||
# For a list of all available plugins, check out | ||
# | ||
# https://docs.fastlane.tools/plugins/available-plugins | ||
# | ||
|
||
# Uncomment the line if you want fastlane to automatically update itself | ||
# update_fastlane | ||
|
||
default_platform(:ios) | ||
|
||
platform :ios do | ||
desc "Deploy to TestFlight" | ||
lane :deploy do | ||
# Ensure git status is clean | ||
ensure_git_status_clean | ||
|
||
# Increment the build number | ||
increment_build_number(xcodeproj: "ios/BlueWallet.xcodeproj") # Update path as needed | ||
|
||
# Install pods | ||
cocoapods(repo_update: true) | ||
|
||
# Match - Synchronize certificates and provisioning profiles | ||
match(type: "appstore", readonly: true) # Set readonly to false if you want to generate new profiles | ||
|
||
# Build the app | ||
build_app( | ||
scheme: "BlueWallet", # Update the scheme name if different | ||
workspace: "ios/BlueWallet.xcworkspace", # Update workspace path | ||
export_method: "app-store", # Use 'app-store' for TestFlight | ||
include_bitcode: true, | ||
include_symbols: true | ||
) | ||
|
||
# Upload to TestFlight | ||
upload_to_testflight(skip_waiting_for_build_processing: true) # Set to false to wait for processing | ||
|
||
# Clean up build artifacts | ||
clean_build_artifacts | ||
|
||
# Commit the version bump | ||
commit_version_bump( | ||
xcodeproj: "ios/BlueWallet.xcodeproj", # Update path as needed | ||
message: "Increment version number [skip ci]" | ||
) | ||
|
||
# Ensure git status is clean after version bump | ||
ensure_git_status_clean | ||
|
||
# Optionally, add a tag for the new version | ||
add_git_tag(tag: get_version_number + "." + get_build_number) | ||
|
||
# Push changes back to the repository | ||
push_to_git_remote | ||
end | ||
end |
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,13 @@ | ||
git_url(ENV["GIT_URL"]) | ||
|
||
storage_mode("git") | ||
|
||
type("appstore") # The default type, can be: appstore, adhoc, enterprise or development | ||
|
||
app_identifier(["io.bluewallet.bluewallet"]) | ||
username(ENV["APPLE_ID"]) # Your Apple Developer Portal username | ||
|
||
# For all available options run `fastlane match --help` | ||
# Remove the # in the beginning of the line to enable the other options | ||
|
||
# The docs are available on https://docs.fastlane.tools/actions/match |
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