Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

chore: update travis for new builds syntax #3022

Merged
merged 1 commit into from
Dec 21, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions scripts/examples-install-preview.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,5 @@

set -ex -o pipefail

PREFIX=2.0.0-

if [ "$PREVIEW_BRANCH" != "master" ]; then
PREVIEW_BRANCH=$PREFIX$(git ls-remote https://github.com/angular/angular | grep $LATEST_RELEASE_BRANCH)
PREVIEW_BRANCH=${PREVIEW_BRANCH:0:13}
fi

./scripts/examples-install.sh
(cd public/docs/_examples && npm install angular/{core,common,compiler,platform-browser,platform-browser-dynamic,http,forms,router,upgrade}-builds#$PREVIEW_BRANCH --no-optional)