Skip to content

Commit

Permalink
Merge pull request ElemeFE#1579 from QingWei-Li/fix/deploy-script
Browse files Browse the repository at this point in the history
CI: fix and test deploy script
  • Loading branch information
baiyaaaaa authored Dec 6, 2016
2 parents 2b3e48f + 1a5a6a6 commit bf9690b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build/deploy-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,11 @@ if [ "$TRAVIS_TAG" ]; then
cd temp_web
git clone -b gh-pages https://$ROT_TOKEN@github.com/ElemeFE/element.git && cd element
# build sub folder
export SUB_FOLDER=$(echo $TRAVIS_TAG | grep -o -E '\d+\.\d+')
echo $TRAVIS_TAG
export SUB_FOLDER=$(echo "$TRAVIS_TAG" | grep -o -E "\d+\.\d+")
echo $SUB_FOLDER

SUB_FOLDER='1.0'
mkdir $SUB_FOLDER
rm -rf *.js *.css *.map static
rm -rf $SUB_FOLDER/**
Expand Down

0 comments on commit bf9690b

Please sign in to comment.