mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-12-02 04:08:10 +08:00
fix deploy shell
This commit is contained in:
parent
e8b74dcb96
commit
5a211b1fca
@ -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+')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user