chore(build): fix release script bugs

This commit is contained in:
Andrew Joslin
2014-06-16 18:19:28 +00:00
parent a057734631
commit 0b56a15583
7 changed files with 18 additions and 226 deletions

View File

@@ -20,7 +20,7 @@ function run {
VERSION=$(readJsonProp "package.json" "version")
CODENAME=$(readJsonProp "package.json" "codename")
DATE=$(readJsonProp "dist/version.json" "date")
DATE=$(date +"%Y-%m-%d")
cd $SITE_DIR

View File

@@ -23,7 +23,7 @@ function run {
VERSION=$(readJsonProp "package.json" "version")
node_modules/.bin/gulp docs --doc-version="$VERSION_NAME" --dist=$SITE_DIR
node_modules/.bin/gulp docs-index
node_modules/.bin/gulp docs-index --dist=$SITE_DIR
cd $SITE_DIR