Skip to content

Commit 3ed08f4

Browse files
committed
add rondo trigger
1 parent 8ee1fb8 commit 3ed08f4

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

Tools/triggerRondo.sh

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/bin/bash
2+
version=`cat sdk-version.txt`
3+
body="{
4+
\"request\": {
5+
\"branch\" : \"master\",
6+
\"message\" : \"Building and uploading $version\",
7+
\"config\": {
8+
\"env\": {
9+
\"LEANPLUM_SDK_VERSION\": \"$version\"
10+
}
11+
}
12+
}}'"
13+
14+
curl -s -X POST \
15+
-H "Content-Type: application/json" \
16+
-H "Accept: application/json" \
17+
-H "Travis-API-Version: 3" \
18+
-H "Authorization: token $TRAVIS_TOKEN" \
19+
-d "$body" \
20+
https://api.travis-ci.org/repo/Leanplum%2FRondo-iOS/requests

0 commit comments

Comments
 (0)