ci(travis): publish artifacts only from the upstream/master jobs
This commit is contained in:
parent
773fe8f8c5
commit
37d18d0112
|
@ -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
|
scripts/publish/npm_prepare.sh angular2
|
||||||
publishRepo "js" "${JS_BUILD_ARTIFACTS_DIR}"
|
publishRepo "js" "${JS_BUILD_ARTIFACTS_DIR}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue