feat: 添加anolis打包rpm
This commit is contained in:
1 parent
f4c79abf83
commit
9a41cbd736
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}
|
||||
;;
|
||||
anolis)
|
||||
ptype=rpm
|
||||
RelOS=an8
|
||||
RpmPkgName=${ProjectL}-${RelVer}.${RpmArch}.${ptype}
|
||||
RpmPkgRename=${ProjectL}-r${RelVer}-${RelOS}-${RelArch}.${ptype}
|
||||
;;
|
||||
*)
|
||||
echo "Unsupported OS"
|
||||
exit 1
|
||||
|
||||
Reference in new issue
Block a user