diff options
| author | Tobias Bosch | 2013-12-16 09:47:51 -0800 | 
|---|---|---|
| committer | Tobias Bosch | 2013-12-16 09:49:48 -0800 | 
| commit | 45af02de0457881f269b52d6c3f0ed58da53cfac (patch) | |
| tree | 757c5920a27543ad99675d51ebbcef9684bdd38d /scripts/code.angularjs.org/publish.sh | |
| parent | 6144df52af35efdfc59941b2542523f744b4f16d (diff) | |
| download | angular.js-45af02de0457881f269b52d6c3f0ed58da53cfac.tar.bz2 | |
chore(build): simplify release scripts
Diffstat (limited to 'scripts/code.angularjs.org/publish.sh')
| -rwxr-xr-x | scripts/code.angularjs.org/publish.sh | 9 | 
1 files changed, 3 insertions, 6 deletions
| diff --git a/scripts/code.angularjs.org/publish.sh b/scripts/code.angularjs.org/publish.sh index a23f613f..352ac10b 100755 --- a/scripts/code.angularjs.org/publish.sh +++ b/scripts/code.angularjs.org/publish.sh @@ -9,12 +9,9 @@ set -xe  # Normalize working dir to script dir  cd `dirname $0` - -# export so that node.js can read those env settings -export TMP_DIR=../../tmp -export REPO_DIR=$TMP_DIR/code.angularjs.org -export BUILD_DIR=../../build - +TMP_DIR=../../tmp +REPO_DIR=$TMP_DIR/code.angularjs.org +BUILD_DIR=../../build  SCRIPT_DIR=`pwd`  NEW_VERSION=`cat $BUILD_DIR/version.txt` | 
