diff options
Diffstat (limited to 'scripts/code.angularjs.org')
| -rw-r--r-- | scripts/code.angularjs.org/README.md | 5 | ||||
| -rwxr-xr-x | scripts/code.angularjs.org/publish.sh | 9 |
2 files changed, 5 insertions, 9 deletions
diff --git a/scripts/code.angularjs.org/README.md b/scripts/code.angularjs.org/README.md index fd034102..e3887004 100644 --- a/scripts/code.angularjs.org/README.md +++ b/scripts/code.angularjs.org/README.md @@ -2,9 +2,8 @@ Script for updating code.angularjs.org repo from current local build. -Requires `node` (for parsing `bower.json`) - -Note: This should only be run for a release build, not a snapshot build! +Note: For a snapshot build, this will fetch the data from the ci server +and NOT take the local build! ## Instructions 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` |
