@@ -41,7 +41,38 @@ platform :ios do
4141 targets :"Siksha-Release" ,
4242 team_id :ENV [ "TEAM_ID" ]
4343 )
44- build_app ( project :"Siksha.xcodeproj" , scheme :"Siksha-Release" , clean :true , silent :true )
44+ build_app ( project :"Siksha.xcodeproj" , scheme :"Siksha-Release" , configuration :"Release" , clean :true , silent :true )
45+ increment_build_number ( build_number :ENV [ "BUILD_NUMBER" ] , xcodeproj :"Siksha.xcodeproj" )
46+ increment_version_number ( version_number :ENV [ "VERSION_NUMBER" ] , xcodeproj :"Siksha.xcodeproj" )
47+ upload_to_testflight ( app_version :ENV [ "VERSION_NUMBER" ] )
48+ slack ( message :"uploaded to testflight" )
49+ # add actions here: https://docs.fastlane.tools/actions
50+ end
51+ lane :beta_debug do
52+ ENV [ "FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT" ] = "120"
53+ setup_ci
54+ app_store_connect_api_key (
55+ key_id :ENV [ "APPSTORE_CONNECT_KEY_ID" ] ,
56+ issuer_id :ENV [ "APPSTORE_CONNECT_ISSUER_ID" ] ,
57+ key_content :ENV [ "APPSTORE_CONNECT_KEY_CONTENT" ]
58+ )
59+
60+ match (
61+ type : "appstore" ,
62+ app_identifier :ENV [ "BUNDLE_IDENTIFIER_DEV" ] ,
63+ readonly : true
64+ )
65+
66+ update_code_signing_settings (
67+ use_automatic_signing : false ,
68+ code_sign_identity : "Apple Distribution" ,
69+ profile_name :ENV [ "PROFILE_NAME" ] ,
70+ path :"Siksha.xcodeproj" ,
71+ bundle_identifier :ENV [ "BUNDLE_IDENTIFIER_DEV" ] ,
72+ targets :"Siksha-Debug" ,
73+ team_id :ENV [ "TEAM_ID" ]
74+ )
75+ build_app ( project :"Siksha.xcodeproj" , scheme :"Siksha-Debug" , configuration :"Debug" , clean :true , silent :true )
4576 increment_build_number ( build_number :ENV [ "BUILD_NUMBER" ] , xcodeproj :"Siksha.xcodeproj" )
4677 increment_version_number ( version_number :ENV [ "VERSION_NUMBER" ] , xcodeproj :"Siksha.xcodeproj" )
4778 upload_to_testflight ( app_version :ENV [ "VERSION_NUMBER" ] )
0 commit comments