Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: stackchain <30806844+stackchain@users.noreply.github.com>
- Loading branch information
1 parent
d0f236a
commit 5d567fb
Showing
19 changed files
with
594 additions
and
80 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 |
---|---|---|
@@ -1 +1,5 @@ | ||
nodejs 16.19.0 | ||
rust 1.65.0 | ||
java zulu-11.58.23 | ||
ruby 2.7.6 | ||
python 3.11.3 |
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 |
---|---|---|
|
@@ -21,6 +21,7 @@ DerivedData | |
*.ipa | ||
*.xcuserstate | ||
ios/.xcode.env.local | ||
*.zip | ||
|
||
# Android/IntelliJ | ||
# | ||
|
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,4 +1,5 @@ | ||
nodejs 16.19.0 | ||
rust 1.65.0 | ||
java adoptopenjdk-11.0.16.1+1-LTS | ||
python 3.9.0 | ||
java zulu-11.58.23 | ||
ruby 2.7.6 | ||
python 3.11.3 |
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 |
---|---|---|
|
@@ -4,3 +4,5 @@ source 'https://rubygems.org' | |
ruby '>= 2.6.10' | ||
|
||
gem 'cocoapods', '>= 1.11.3' | ||
gem "fastlane" | ||
gem "dotenv" |
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,7 @@ | ||
apple_id("tool-apple@anzens.com") # Your Apple Developer Portal username | ||
|
||
itc_team_id("119491519") # App Store Connect Team ID | ||
team_id("F8NVT2G2L4") # Developer Portal Team ID | ||
|
||
# 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
# 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 | ||
|
||
XC_PROJECT="./ios/yoroi.xcodeproj" | ||
XC_WORKSPACE="./ios/yoroi.xcworkspace" | ||
|
||
PLIST="yoroi/Info.plist" | ||
|
||
NIGHTLY_BUNDLE_ID="com.emurgo.yoroi-nightly" | ||
NIGHTLY_APP_NAME="Yoroi Nightly" | ||
|
||
default_platform(:ios) | ||
|
||
platform :ios do | ||
desc "Push a new beta build to TestFlight" | ||
lane :ios_nightly do | ||
update_app_identifier( | ||
xcodeproj: XC_PROJECT, # Optional path to xcodeproj, will use the first .xcodeproj if not set | ||
plist_path: PLIST, # Path to info plist file, relative to xcodeproj | ||
app_identifier: NIGHTLY_BUNDLE_ID # The bundle identifier of your app | ||
) | ||
|
||
update_info_plist( | ||
xcodeproj: XC_PROJECT, | ||
plist_path: PLIST, | ||
display_name: NIGHTLY_APP_NAME, | ||
) | ||
|
||
match(app_identifier: NIGHTLY_BUNDLE_ID, type: "appstore") | ||
|
||
api_key = app_store_connect_api_key( | ||
key_id: "PH9Z89M567", | ||
issuer_id: "feff08c0-5259-4e9a-bdbe-26cdb046e1d5", | ||
key_filepath: "~/AuthKey_PH9Z89M567.p8", | ||
duration: 1200, | ||
in_house: false | ||
) | ||
|
||
increment_build_number(xcodeproj: XC_PROJECT) | ||
|
||
begin | ||
gym( | ||
scheme: "yoroi", | ||
workspace: XC_WORKSPACE, | ||
silent: true, | ||
include_bitcode: false, | ||
include_symbols: true, | ||
clean: true, | ||
xcargs: `-UseNewBuildSystem=YES`, | ||
output_directory: "./ios", | ||
output_name: "yoroi.ipa", | ||
export_options: { | ||
method: "app-store", | ||
signingStyle: "automatic" | ||
}, | ||
) | ||
rescue => e | ||
xcode_log_path = '~/Library/Logs/gym/yoroi-yoroi.log' | ||
p "Xcode build failed -> #{xcode_log_path}" | ||
sh "cat #{xcode_log_path}" | ||
|
||
raise 'Xcode build failed.' | ||
end | ||
|
||
upload_to_testflight(api_key: api_key, app_identifier: "com.emurgo.yoroi-nightly") | ||
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("git@github.com:Emurgo/yoroi-certs.git") | ||
|
||
storage_mode("git") | ||
|
||
type("appstore") | ||
|
||
# app_identifier(["tools.fastlane.app", "tools.fastlane.app2"]) | ||
# username("user@fastlane.tools") # 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 |
Oops, something went wrong.