diff --git a/scripts/release.sh b/scripts/release.sh index 485a996481..1ad34bacad 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -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 ===" @@ -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