Commit 5a211b1f authored by qingwei.li's avatar qingwei.li Committed by 杨奕

fix deploy shell

parent e8b74dcb
...@@ -3,13 +3,13 @@ mkdir temp_web ...@@ -3,13 +3,13 @@ mkdir temp_web
git config --global user.name "element-bot" git config --global user.name "element-bot"
git config --global user.email "wallement@gmail.com" git config --global user.email "wallement@gmail.com"
if [[ "$ROT_TOKEN" = "" ]]; then if [ "$ROT_TOKEN" = "" ]; then
echo "Bye~" echo "Bye~"
exit 0 exit 0
fi fi
# release # release
if [[ "$TRAVIS_TAG" ]]; then if [ "$TRAVIS_TAG" ]; then
# build sub folder # build sub folder
SUB_FOLDER=$(echo $TRAVIS_TAG | grep -o -E '\d+\.\d+') SUB_FOLDER=$(echo $TRAVIS_TAG | grep -o -E '\d+\.\d+')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment