mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(travis): fix release scripts
This commit is contained in:
@@ -31,11 +31,11 @@ function run {
|
||||
mkdir -p $VERSION_DIR
|
||||
|
||||
cd $VERSION_DIR
|
||||
cp -R $BUILD_DIR/* $VERSION_DIR
|
||||
cp -Rf $BUILD_DIR/* $VERSION_DIR
|
||||
|
||||
echo "-- Generating versions.json..."
|
||||
cd $IONIC_CODE_DIR/builder
|
||||
python ./generate.py > /dev/null
|
||||
python ./generate.py
|
||||
|
||||
cd $IONIC_CODE_DIR
|
||||
git add -A
|
||||
|
||||
@@ -81,14 +81,13 @@ function run {
|
||||
--codename=$CODENAME \
|
||||
--version=$VERSION
|
||||
|
||||
./scripts/seed/publish.sh \
|
||||
--version="$VERSION"
|
||||
|
||||
# Version name used on the CDN/docs: nightly or the version
|
||||
VERSION_NAME=$VERSION
|
||||
|
||||
./scripts/site/publish.sh --action="clone"
|
||||
|
||||
./scripts/site/publish.sh --action="updateConfig"
|
||||
|
||||
./scripts/seed/publish.sh --version="$VERSION"
|
||||
else
|
||||
./scripts/site/publish.sh --action="clone"
|
||||
|
||||
Reference in New Issue
Block a user