mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix code
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
# 2. 替换README.md和docs中的版本号
|
||||
#------------------------------------------------
|
||||
|
||||
if [ !-n "$1" ]; then
|
||||
if [ -z "$1" ]; then
|
||||
echo "ERROR: 新版本不存在,请指定参数1"
|
||||
exit
|
||||
fi
|
||||
@@ -30,4 +30,4 @@ mvn versions:set -DnewVersion=$1
|
||||
version=${1%-SNAPSHOT}
|
||||
|
||||
# 替换其它地方的版本
|
||||
$(pwd)/bin/replaceVersion.sh "$version"
|
||||
"$(pwd)"/bin/replaceVersion.sh "$version"
|
||||
|
Reference in New Issue
Block a user