chore(travis): fix release scripts

This commit is contained in:
Andy Joslin
2014-03-15 15:10:09 -06:00
parent af7515bdfe
commit 95b6a83dad
2 changed files with 4 additions and 5 deletions

View File

@@ -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

View File

@@ -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"