modify dockerbuild.sh about beta version name
This commit is contained in:
parent
1c7670d9f7
commit
f8f66d03b9
|
@ -67,8 +67,10 @@ done
|
||||||
|
|
||||||
if [ "$verType" == "beta" ]; then
|
if [ "$verType" == "beta" ]; then
|
||||||
dockername=${cpuType}-${verType}
|
dockername=${cpuType}-${verType}
|
||||||
|
dirName=${pkgFile%-beta*}
|
||||||
elif [ "$verType" == "stable" ]; then
|
elif [ "$verType" == "stable" ]; then
|
||||||
dockername=${cpuType}
|
dockername=${cpuType}
|
||||||
|
dirName=${pkgFile%-Linux*}
|
||||||
else
|
else
|
||||||
echo "unknow verType, nor stabel or beta"
|
echo "unknow verType, nor stabel or beta"
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -84,7 +86,6 @@ comunityArchiveDir=/nas/TDengine/v$version/community # community version’pac
|
||||||
cd ${scriptDir}
|
cd ${scriptDir}
|
||||||
cp -f ${comunityArchiveDir}/${pkgFile} .
|
cp -f ${comunityArchiveDir}/${pkgFile} .
|
||||||
|
|
||||||
dirName=${pkgFile%-Linux*}
|
|
||||||
echo "dirName=${dirName}"
|
echo "dirName=${dirName}"
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue