From 3eced6e1a92fe15d45b1898c965293f28d140790 Mon Sep 17 00:00:00 2001 From: Yegor Jbanov Date: Tue, 17 Nov 2015 22:56:41 -0800 Subject: [PATCH] chore(publish): use pub/npm_prepare.sh script to prep published builds Closes #5356 --- scripts/publish/publish-build-artifacts.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/publish/publish-build-artifacts.sh b/scripts/publish/publish-build-artifacts.sh index 360f894dad..5c68325811 100755 --- a/scripts/publish/publish-build-artifacts.sh +++ b/scripts/publish/publish-build-artifacts.sh @@ -1,8 +1,8 @@ #!/bin/bash set -e -x -DART_BUILD_ARTIFACTS_DIR="dist/dart/angular2" -JS_BUILD_ARTIFACTS_DIR="dist/js/prod/es5/angular2" +DART_BUILD_ARTIFACTS_DIR="dist/pub/angular2" +JS_BUILD_ARTIFACTS_DIR="dist/npm/angular2" DART_BUILD_BRANCH="builds-dart" JS_BUILD_BRANCH="builds-js" @@ -60,7 +60,10 @@ function publishRepo { } if [[ "$TRAVIS_REPO_SLUG" = "angular/angular" && "$MODE" == "build_only" ]]; then + scripts/publish/npm_prepare.sh angular2 publishRepo "js" "${JS_BUILD_ARTIFACTS_DIR}" + + scripts/publish/pub_prepare.sh angular2 publishRepo "dart" "${DART_BUILD_ARTIFACTS_DIR}" echo "Finished publishing build artifacts" fi