File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 112112 xcpretty-travis-formatter (>= 0.0.3 , < 2.0.0 )
113113 fastlane-plugin-sentry (1.27.1 )
114114 os (~> 1.1 , >= 1.1.4 )
115- fastlane-plugin-versioning (0.7.1 )
115+ fastlane-plugin-telegram (0.1.4 )
116116 fastlane-plugin-xcconfig (2.1.0 )
117117 fastlane-sirp (1.0.0 )
118118 sysrandom (~> 1.0 )
@@ -222,7 +222,7 @@ PLATFORMS
222222DEPENDENCIES
223223 fastlane
224224 fastlane-plugin-sentry
225- fastlane-plugin-versioning
225+ fastlane-plugin-telegram
226226 fastlane-plugin-xcconfig
227227
228228BUNDLED WITH
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ platform :ios do
8686 end
8787 end
8888
89- desc ""
89+ desc "Builds and signs ipa file "
9090 lane :build_ipa do
9191 version = get_xcconfig_value (
9292 path : 'Configs/App.xcconfig' ,
@@ -155,6 +155,15 @@ platform :ios do
155155 message : "Build is on TestFlight" ,
156156 content_image : "Images/logo.png"
157157 )
158+
159+ version = get_xcconfig_value ( path : 'Configs/App.xcconfig' , name : 'MARKETING_VERSION' )
160+ build = sh ( "git rev-list --all --count" ) . chomp . strip
161+
162+ telegram (
163+ token : ENV [ 'TG_BOT_TOKEN' ] ,
164+ chat_id : ENV [ 'TG_CHAT_ID' ] ,
165+ text : "Версия #{ version } (#{ build } ) загружена на TestFlight"
166+ )
158167 end
159168
160169 # --------------------------------------------------
Original file line number Diff line number Diff line change 33# Ensure this file is checked in to source control!
44gem 'fastlane-plugin-sentry'
55gem 'fastlane-plugin-xcconfig'
6+ gem 'fastlane-plugin-telegram'
You can’t perform that action at this time.
0 commit comments