Commit 336572ee authored by tywldx's avatar tywldx

test

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