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.0 '
11+ s . version = '2.2.1-beta.8 '
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}
@@ -206,6 +208,20 @@ build_ios_dylib() {
206208 printf " %s\n" " Successfully built Leanplum-SDK (iOS) Framework.\n"
207209}
208210
211+ # ######################################
212+ # Builds the iOS dynamic library Target.
213+ # Globals:
214+ # None
215+ # Arguments:
216+ # None
217+ # Returns:
218+ # None
219+ # ######################################
220+ zip_ios_dylib () {
221+ cd " ${RELEASE_DIR} "
222+ zip -r Leanplum.framework.zip Leanplum.framework
223+ mv Leanplum.framework.zip " $SDK_DIR "
224+ }
209225# ######################################
210226# Builds the dynamic library tvOS target.
211227# Globals:
You can’t perform that action at this time.
0 commit comments