소스 검색

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+')