feat: 添加kylin|anolis打包rpm

This commit is contained in:
TsMask committed 2025-02-24 16:36:32 +08:00
1 parent e42d35c5e0
commit 48d5a0a783
1 file changed
+6
+6
View File
@@ -163,6 +163,12 @@ case $(get_os_info) in
RpmPkgName=${ProjectL}-${RelVer}.${RpmArch}.${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"
exit 1