Skip to content

Commit cc9e1b0

Browse files
committed
add rondo trigger
1 parent 4e22ca2 commit cc9e1b0

File tree

5 files changed

+23
-65
lines changed

5 files changed

+23
-65
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ before_deploy:
2020
deploy:
2121
- provider: script
2222
skip_cleanup: true
23-
script: ./gradlew artifactoryPublish bintrayUpload
23+
script:
24+
- ./gradlew artifactoryPublish bintrayUpload
25+
- ./Tools/triggerRondo.sh
2426
on:
2527
tags: true

Tools/create-release.bash

Lines changed: 0 additions & 23 deletions
This file was deleted.

Tools/create-release.py

Lines changed: 0 additions & 40 deletions
This file was deleted.

Tools/requirements.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

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-Android/requests

0 commit comments

Comments
 (0)