Commit c3ab8795 authored by QA-甘 盛聪's avatar QA-甘 盛聪

update

parent 3fad4be8
......@@ -30,7 +30,7 @@ function buildJavaProject()
echo "module is $project, need replace sms jar version from 1.0.x to 1.0.2"
num=`grep -n -A12 "<id>test</id>" $project_path/$project/pom.xml| grep "<version>" | awk -F- '{print $1}'`
echo "----$project-----pom.xml file line: $num------------"
sed -i "${num}s/1.0.[0-9]-SNAPSHOT/1.0.6.3-SNATSHOP/" $project_path/$project/pom.xml
sed -i "${num}s/1.0.[0-9]-SNAPSHOT/1.0.5/" $project_path/$project/pom.xml
fi
if [[ "$project" = "du-jiang-yan" ]]; then
......
......@@ -24,7 +24,7 @@ function buildJavaProject()
if [[ "$project" = "xyqb" || "$project" = "gu-bei" || "$project" = "han-gu-guan" || "$project" = "di-ting" || "$project" = "xyqb-offline" || "$project" = "xyqb-user" ]]; then
echo "module is $project, need replace sms jar version from 1.0.x to 1.0.2"
num=`grep -n -A12 "<id>test</id>" $project_path/$project/pom.xml| grep "<version>" | awk -F- '{print $1}'`
sed -i "${num}s/1.0.[0-9]-SNAPSHOT/1.0.6.3-SNATSHOP/" $project_path/$project/pom.xml
sed -i "${num}s/1.0.[0-9]-SNAPSHOT/1.0.5/" $project_path/$project/pom.xml
fi
if [[ "$project" = "du-jiang-yan" ]]; then
......
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