feat: 添加kylin|anolis打包rpm
This commit is contained in:
6
build.sh
6
build.sh
@@ -163,6 +163,12 @@ case $(get_os_info) in
|
|||||||
RpmPkgName=${ProjectL}-${RelVer}.${RpmArch}.${ptype}
|
RpmPkgName=${ProjectL}-${RelVer}.${RpmArch}.${ptype}
|
||||||
RpmPkgRename=${ProjectL}-r${RelVer}-${RelOS}-${RelArch}.${ptype}
|
RpmPkgRename=${ProjectL}-r${RelVer}-${RelOS}-${RelArch}.${ptype}
|
||||||
;;
|
;;
|
||||||
|
kylin|anolis)
|
||||||
|
ptype=rpm
|
||||||
|
RelOS=ky
|
||||||
|
RpmPkgName=${ProjectL}-${RelVer}.${RpmArch}.${ptype}
|
||||||
|
RpmPkgRename=${ProjectL}-r${RelVer}-${RelOS}-${RelArch}.${ptype}
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Unsupported OS"
|
echo "Unsupported OS"
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user