Skip to content

Commit

Permalink
Edit Travis scripts to build 0.6.3 patch release
Browse files Browse the repository at this point in the history
  • Loading branch information
matteblair committed May 15, 2017
1 parent 9ec575a commit 12f4d01
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ sudo: enabled
branches:
only:
- master
- 0.6.3-patch

matrix:
include:
Expand Down
2 changes: 1 addition & 1 deletion scripts/travis/script_deploy_android_demo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -o pipefail
if [ "${PLATFORM}" = "android" ]; then
printf "[default]\naccess_key = $S3_ACCESS_KEY\n secret_key = $S3_SECRET_KEY" > ~/.s3cfg

if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_BRANCH}" = "master" ]; then
if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_BRANCH}" = "0.6.3-patch" ]; then
url_latest="s3://android.mapzen.com/tangram-latest.apk"
echo "Uploading latest build to $url_latest"
s3cmd put platforms/android/demo/build/outputs/apk/demo-debug.apk $url_latest
Expand Down
2 changes: 1 addition & 1 deletion scripts/travis/script_deploy_android_snapshot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e
set -o pipefail

if [ "${PLATFORM}" = "android" ] && [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_BRANCH}" = "master" ]; then
if [ "${PLATFORM}" = "android" ] && [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_BRANCH}" = "0.6.3-patch" ]; then

# Configure private repository credentials (used to sign release artifacts)
echo -e "machine github.com\n login $GITHUB_USERNAME\n password $GITHUB_PASSWORD" >> ~/.netrc
Expand Down

0 comments on commit 12f4d01

Please sign in to comment.