Skip to content

Commit cc06b56

Browse files
author
侯锐
committed
优化deploy脚本
1 parent 463156a commit cc06b56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ echo "version: ${version}"
1313
echo "Adding git tag ${version}"
1414
git tag ${version}
1515
# 如果在创建tag的时候发生了错误就立即返回
16-
if [ $? -ne 0 ]; then exit $?; fi
16+
if [[ $? -ne 0 ]]; then exit $?; fi
1717

1818
remotes_raw=`git remote`
1919
remotes=(${remotes_raw//\\n/ })

0 commit comments

Comments
 (0)