ci(build): 修改构建,使用严格模式

This commit is contained in:
ibuler
2020-07-09 17:05:47 +08:00
committed by BaiJiangJie
parent d3fbb9a391
commit 8c6d2a1150
2 changed files with 3 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ function change_version() {
}
# 修改版本号文件
if [[ -n ${VERSION} ]]; then
if [[ -n ${VERSION-''} ]]; then
change_version || exit 2
fi