This commit is contained in:
luoliangyi 2022-08-09 17:22:55 +08:00
parent 6a2b1ce37d
commit 8bfdcfa3a5
1 changed files with 9 additions and 8 deletions

View File

@ -12,9 +12,7 @@ dpkgtype="app"
mainverstr="4"
ver3=10
minver=$(cat ../sdk/include/huagao/brand.h |grep VERSION_SUB)
minver=${minver: -2}
echo $minver
if [ "$oem" != "hg" ] && [ "$oem" != "lsc" ] && [ "$oem" != "hw" ] && [ "$oem" != ""hgweb ] && [ "$oem" != ""lscweb ] && [ "$oem" != ""hwweb ];
then
@ -118,11 +116,6 @@ else
ver3=$[$ver3 + 10]
fi
echo "3rd version replacing pattern: "${ver3}
echo $dpkgpath
ver="$mainverstr.$minver.$ver3.$time2"
echo $ver
cd ../release/$syspath/$cpu/
rm * -R
git checkout .
@ -150,6 +143,14 @@ if [ $? -ne 0 ];then
exit 1
fi
minver=$(cat ../sdk/include/huagao/brand.h |grep VERSION_SUB)
minver=${minver: -2}
echo $minver
echo "3rd version replacing pattern: "${ver3}
echo $dpkgpath
ver="$mainverstr.$minver.$ver3.$time2"
echo $ver
Version="Version: $ver"
Architecture="Architecture: $dpkgarch"
packagename="package: $dpkgpath"