Skip to content

Commit

Permalink
ci(travis): publish artifacts only from the upstream/master jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorMinar committed Mar 5, 2016
1 parent 773fe8f commit 37d18d0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/publish/publish-build-artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ function publishRepo {
)
}

if [[ "$TRAVIS_REPO_SLUG" = "angular/angular" && "$MODE" == "build_only" ]]; then
if [[ "$TRAVIS_REPO_SLUG" == "angular/angular" && \
"$TRAVIS_PULL_REQUEST" == "false" && \
"$MODE" == "build_only" ]]; then
scripts/publish/npm_prepare.sh angular2
publishRepo "js" "${JS_BUILD_ARTIFACTS_DIR}"

Expand Down

0 comments on commit 37d18d0

Please sign in to comment.