瀏覽代碼

fix deploy shell

qingwei.li 8 年之前
父節點
當前提交
5a211b1fca
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      build/deploy-ci.sh

+ 2 - 2
build/deploy-ci.sh

@@ -3,13 +3,13 @@ mkdir temp_web
 git config --global user.name "element-bot"
 git config --global user.email "wallement@gmail.com"
 
-if [[ "$ROT_TOKEN" = "" ]]; then
+if [ "$ROT_TOKEN" = "" ]; then
   echo "Bye~"
   exit 0
 fi
 
 # release
-if [[ "$TRAVIS_TAG" ]]; then
+if [ "$TRAVIS_TAG" ]; then
   # build sub folder
   SUB_FOLDER=$(echo $TRAVIS_TAG | grep -o -E '\d+\.\d+')