Commit 82354cfe authored by tywldx's avatar tywldx

fix

parent 336572ee
......@@ -20,7 +20,7 @@ for num in ${nums[@]}
do
lin=$[ $num+1 ]
echo "第$lin行 pom文件修改成<version>2.0.0.3-SNAPSHOT</version>"
sed -i "${lin}s/version.*-S.*</version>2.0.0.3-SNAPSHOT</" $project_path/$project/pom.xml
sed -i "${lin}s/version.*-S.*<\/version>/version>2.0.0.3-SNAPSHOT<\/version>/" $project_path/$project/pom.xml
done
echo "修改完毕"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment