This is an automated email from the ASF dual-hosted git repository.
(unknown) pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-python2.git
The following commit(s) were added to refs/heads/master by this push:
new cc06b56 优化deploy脚本
cc06b56 is described below
commit cc06b569ec43fce3314b9c82de03d2541368fbb1
Author: 侯锐 <[email protected]>
AuthorDate: Fri Nov 8 11:11:54 2019 +0800
优化deploy脚本
---
tools/deploy.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/deploy.sh b/tools/deploy.sh
index 632b4e3..53a3e50 100755
--- a/tools/deploy.sh
+++ b/tools/deploy.sh
@@ -13,7 +13,7 @@ echo "version: ${version}"
echo "Adding git tag ${version}"
git tag ${version}
# 如果在创建tag的时候发生了错误就立即返回
-if [ $? -ne 0 ]; then exit $?; fi
+if [[ $? -ne 0 ]]; then exit $?; fi
remotes_raw=`git remote`
remotes=(${remotes_raw//\\n/ })