Commit 1a9288e7 authored by vae's avatar vae 🚴

add cd file

parent 3717beab
Pipeline #108 failed
stages:
-deploy
beta:
stage:deploy
script:
- fastlane add_plugin pgyer
- fastlane betaG
only:
refs:
- test-cicd
\ No newline at end of file
...@@ -17,6 +17,8 @@ default_platform(:ios) ...@@ -17,6 +17,8 @@ default_platform(:ios)
# Gotobus # Gotobus
platform :ios do platform :ios do
desc "Gotobus Push a new release build to the App Store" desc "Gotobus Push a new release build to the App Store"
lane :releaseG do lane :releaseG do
...@@ -32,19 +34,24 @@ platform :ios do ...@@ -32,19 +34,24 @@ platform :ios do
upload_symbols_to_crashlytics(dsym_path: "outPut/GotoBus/GotoBus.app.dSYM.zip") upload_symbols_to_crashlytics(dsym_path: "outPut/GotoBus/GotoBus.app.dSYM.zip")
end end
desc "Gotobus push a new Version to testFlight" lane :betaG do
lane :betaG do build_app(export_method: "ad-hoc")
cocoapods pgyer(api_key: "ea16910d7e514b202a8c8fa53c9876dc", user_key: "0daa93d24dc0686f6b1a952201fd9ed6")
get_certificates(output_path:"outPut/GotoBus")
get_provisioning_profile(
provisioning_name:"FT iOS: com.GoToBus.app",
app_identifier:"com.GoToBus.app",
output_path:"outPut/GotoBus"
)
build_app(workspace: "Project.xcworkspace", scheme: "GotoBus",output_directory:"outPut/GotoBus")
upload_to_testflight(app_identifier:"com.GoToBus.app",ipa:"outPut/GotoBus/GotoBus.ipa", skip_waiting_for_build_processing: true)
end end
# desc "Gotobus push a new Version to testFlight"
# lane :betaG do
# cocoapods
# get_certificates(output_path:"outPut/GotoBus")
# get_provisioning_profile(
# provisioning_name:"FT iOS: com.GoToBus.app",
# app_identifier:"com.GoToBus.app",
# output_path:"outPut/GotoBus"
# )
# build_app(workspace: "Project.xcworkspace", scheme: "GotoBus",output_directory:"outPut/GotoBus")
# upload_to_testflight(app_identifier:"com.GoToBus.app",ipa:"outPut/GotoBus/GotoBus.ipa", skip_waiting_for_build_processing: true)
# end
# TakeTours # TakeTours
desc "TakeTours push a new release build to the testFlight" desc "TakeTours push a new release build to the testFlight"
......
Markdown is supported
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