1
0

feat: 添加kylin|anolis打包rpm

This commit is contained in:
TsMask
2025-02-24 16:36:32 +08:00
parent e42d35c5e0
commit 48d5a0a783

View File

@@ -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