Commit 7e181293 authored by tywldx's avatar tywldx

fix

parent 75a194b6
...@@ -18,7 +18,7 @@ nums=(`awk '/quantgroup-sms-sdk/ {print NR}' $project_path/$project/pom.xml`) ...@@ -18,7 +18,7 @@ nums=(`awk '/quantgroup-sms-sdk/ {print NR}' $project_path/$project/pom.xml`)
for num in ${nums[@]} for num in ${nums[@]}
do do
lin=$[ $num+1 ] lin=$[ $num+1 ]
echo "$lin" 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\>2.0.0.3-SNAPSHOT\<\/version\>/" $project_path/$project/pom.xml
done done
......
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