Commit 7e4dc516 authored by Jose Blaya's avatar Jose Blaya
Browse files

New lane to build beta IPA in a distribution folder

parent 74006c1f
...@@ -12,5 +12,6 @@ fastlane/test_output ...@@ -12,5 +12,6 @@ fastlane/test_output
fastlane/review_information/demo_* fastlane/review_information/demo_*
build build
dist dist
apple_dist
Preview.html Preview.html
Gemfile.lock Gemfile.lock
...@@ -104,7 +104,7 @@ beta_manual_archive: ...@@ -104,7 +104,7 @@ beta_manual_archive:
GYM_EXPORT_METHOD: "app-store" GYM_EXPORT_METHOD: "app-store"
script: script:
#- bundle exec fastlane clean_openssl #- bundle exec fastlane clean_openssl
- bundle exec fastlane create_archive - bundle exec fastlane create_beta_archive
artifacts: artifacts:
paths: paths:
- "$STAGE_TESTFLIGHT_ARTIFACTS_PATH/$STAGE_ARCHIVE_NAME.*" - "$STAGE_TESTFLIGHT_ARTIFACTS_PATH/$STAGE_ARCHIVE_NAME.*"
......
...@@ -24,6 +24,7 @@ platform :ios do ...@@ -24,6 +24,7 @@ platform :ios do
import "ci/clean_openssl.rb" import "ci/clean_openssl.rb"
import "ci/unit_test.rb" import "ci/unit_test.rb"
import "ci/create_archive.rb" import "ci/create_archive.rb"
import "ci/create_beta_archive.rb"
import "ci/qa_deploy.rb" import "ci/qa_deploy.rb"
import "ci/qa_notify.rb" import "ci/qa_notify.rb"
import "ci/beta_deploy.rb" import "ci/beta_deploy.rb"
......
desc "Archive a new build for Beta testing"
lane :create_beta_archive do
#ensure_git_status_clean
sh "cd .. && rm -rf Pods/SideMenu"
cocoapods(try_repo_update_on_error: true)
sh "cd .. && git apply ci/0001-Close-menu-on-rotation.patch"
get_build_number
increment_build_number(
build_number: deterministic_build_number
)
match
gym(output_directory: "apple_dist")
print_ipa_metadata(
prefix: "Archived"
)
end
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment