File tree Expand file tree Collapse file tree 4 files changed +34
-7
lines changed Expand file tree Collapse file tree 4 files changed +34
-7
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,19 @@ before_install:
1111- gem install cocoapods # Since Travis is not always on latest version
1212- pod install --project-directory=Example
1313
14+ after_success :
15+ - ./build.sh
16+
1417deploy :
15- provider : script
16- script : ./Tools/push.sh
17- on :
18- tags : true
18+ - provider : releases
19+ skip_cleanup : true
20+ api_key :
21+ secure : $GITHUB_TOKEN
22+ file : Leanplum.framework.zip
23+ draft : true
24+ on :
25+ tags : true
26+ - provider : script
27+ script : ./Tools/push.sh
28+ on :
29+ tags : true
Original file line number Diff line number Diff line change 44
55Pod ::Spec . new do |s |
66 s . name = 'Leanplum-iOS-SDK-source'
7- s . version = '2.2-beta-6 '
7+ s . version = '2.2.1 -beta.7 '
88 s . summary = 'Mobile Marketing Platform. Integrated. ROI Engine.'
99 s . description = <<-DESC
1010Leanplum’s integrated solution delivers meaningful engagement across messaging and the in-app
Original file line number Diff line number Diff line change 88
99Pod ::Spec . new do |s |
1010 s . name = 'Leanplum-iOS-SDK'
11- s . version = '2.2-beta.6 '
11+ s . version = '2.2.1 -beta.7 '
1212 s . summary = 'Mobile Marketing Platform. Integrated. ROI Engine.'
1313 s . description = <<-DESC
1414Leanplum’s integrated solution delivers meaningful engagement across messaging and the in-app
Original file line number Diff line number Diff line change @@ -111,7 +111,9 @@ main() {
111111 pod install
112112 cd " $SDK_DIR /Example/Pods"
113113 build_ios_dylib
114- build_tvos_dylib
114+ # build_tvos_dylib
115+
116+ zip_ios_dylib
115117
116118 echo " ${GREEN} Done.${NORMAL} "
117119}
@@ -178,6 +180,20 @@ build_ios_dylib() {
178180 printf " %s\n" " Successfully built Leanplum-SDK (iOS) Framework.\n"
179181}
180182
183+ # ######################################
184+ # Builds the iOS dynamic library Target.
185+ # Globals:
186+ # None
187+ # Arguments:
188+ # None
189+ # Returns:
190+ # None
191+ # ######################################
192+ zip_ios_dylib () {
193+ cd " ${RELEASE_DIR} "
194+ zip -r Leanplum.framework.zip Leanplum.framework
195+ mv Leanplum.framework.zip " $SDK_DIR "
196+ }
181197# ######################################
182198# Builds the dynamic library tvOS target.
183199# Globals:
You can’t perform that action at this time.
0 commit comments