Skip to content

Commit 42a78b9

Browse files
committed
add automation
1 parent dfd6f72 commit 42a78b9

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

.travis.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,20 @@ before_install:
1111
- gem install cocoapods # Since Travis is not always on latest version
1212
- pod install --project-directory=Example
1313

14-
after_success:
14+
before_deploy:
1515
- ./build.sh
1616

1717
deploy:
18-
skip_cleanup: true
19-
provider: script
20-
script: ./Tools/push.sh
21-
on:
22-
tags: true
18+
- provider: script
19+
script: ./Tools/push.sh
20+
on:
21+
tags: true
22+
- provider: releases
23+
api_key:
24+
secure: $GITHUB_TOKEN
25+
file: Leanplum.framework.zip
26+
skip_cleanup: true
27+
draft: true
28+
on:
29+
tags: true
30+

build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ build_ios_dylib() {
220220
zip_ios_dylib() {
221221
cd "${RELEASE_DIR}"
222222
zip -r Leanplum.framework.zip Leanplum.framework
223+
mv Leanplum.framework.zip "$SDK_DIR"
223224
}
224225
#######################################
225226
# Builds the dynamic library tvOS target.

0 commit comments

Comments
 (0)