From 11ab5a87bf20203157ea9f8940e3d1a32cf6e038 Mon Sep 17 00:00:00 2001 From: springboot-plus Date: Sun, 6 Oct 2019 20:52:46 +0800 Subject: [PATCH] :cn: 1.3.0.RELEASE shiro+jwt --- deploy/deploy.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy/deploy.sh b/deploy/deploy.sh index 4a5577a7..d1ee817b 100644 --- a/deploy/deploy.sh +++ b/deploy/deploy.sh @@ -34,7 +34,9 @@ IS_UPDATE=0 # 如果没有,则clone if [ ! -d "spring-boot-plus" ]; then git clone https://github.com/geekidea/spring-boot-plus.git + cd spring-boot-plus else + cd spring-boot-plus # 拉取代码,并获取结果判断,是否有新的代码更新,如果有,则备份之前的server,否则替换 PULL_RESULT=$(git pull) echo "${PULL_RESULT}" @@ -46,7 +48,6 @@ else fi fi -cd spring-boot-plus # 2. maven打包 mvn clean