feat: 添加kylin|anolis打包rpm
This commit is contained in:
1 parent
e42d35c5e0
commit
48d5a0a783
1 file changed
+6
@@ -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
|
||||
|
||||
Reference in new issue
Block a user