mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(build): fix release script bugs
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user