Commit 6eec7e18 authored by tywldx's avatar tywldx

fix

parent 3abba7ab
......@@ -19,7 +19,8 @@ for num in ${nums[@]}
do
lin=$[ $num+1 ]
echo "第$lin行 pom文件修改成<version>2.0.0.3-SNAPSHOT</version>"
sed -i "${lin}s/^.*$/\<version\>2.0.0.3-SNAPSHOT\<\/version\>/" $project_path/$project/pom.xml
sed -i "${lin}s/version.*\</version\>2.0.0.3-SNAPSHOT\</" $project_path/$project/pom.xml
done
echo "$build_command"
......
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