Skip to content

Commit

Permalink
Add designer pull/bower install to release script
Browse files Browse the repository at this point in the history
  • Loading branch information
ebidel committed May 16, 2014
1 parent 29cbf0c commit 5771702
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
# SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

PROJECTS_DIR=./polymer-all/projects
COMPONENTS_DIR=../../components
DESIGNER_DIR=$PROJECTS_DIR/designer
#COMPONENTS_DIR=../../components
COMPONENTS_DIR=../../../

# Update submodules =====
echo "=== Updating: submodules ==="
Expand All @@ -21,8 +23,14 @@ git submodule foreach git pull origin master
#echo "=== Updating projects ==="
#../tools/bin/pull-all-projects.sh

# Update designer =====
cd $DESIGNER_DIR
echo "=== Updating designer ==="
rm -rf components # If bower components dir exists, script hangs. Remove it first.
bower install

# Update components and polyfills folder =====
#cd $COMPONENTS_DIR
cd $COMPONENTS_DIR
echo "=== Updating: components, polymer, polyfills, projects, and labs ==="
#../polymer-all/tools/bin/pull-all.sh
./polymer-all/tools/bin/pull-all.sh
Expand Down

0 comments on commit 5771702

Please sign in to comment.