From d2b03564030c82811ce46bc73b1cef8783d995f3 Mon Sep 17 00:00:00 2001 From: pangratz Date: Wed, 16 Dec 2015 18:35:27 +0100 Subject: [PATCH] Re-enable pushing builds to S3 --- .travis.yml | 2 +- bin/publish-builds | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100755 bin/publish-builds diff --git a/.travis.yml b/.travis.yml index ad55c004238..07ac7cec96d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,7 +16,7 @@ script: - npm run-script test:optional-features after_success: - npm run-script production - - "./bin/bower-ember-data-build" + - "./bin/publish-builds" env: global: - BROCCOLI_ENV="production" diff --git a/bin/publish-builds b/bin/publish-builds new file mode 100755 index 00000000000..98eb397aa50 --- /dev/null +++ b/bin/publish-builds @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +echo -e "CURRENT_BRANCH: ${TRAVIS_BRANCH}\n" +echo -e "PULL_REQUEST: ${TRAVIS_PULL_REQUEST}\n" + +if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then + ./bin/publish-to-s3.js + ./bin/bower-ember-data-build +fi