From 175d79fa735de0ac315c1c9b3893ff850a478b38 Mon Sep 17 00:00:00 2001
From: wang-guangge <wangguangge@huawei.com>
Date: Tue, 14 Nov 2023 15:03:21 +0800
Subject: [PATCH] fix filename bug in gen_updateinfo.py

---
 aops-apollo-tool/aops_apollo_tool/gen_updateinfo.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/aops-apollo-tool/aops_apollo_tool/gen_updateinfo.py b/aops-apollo-tool/aops_apollo_tool/gen_updateinfo.py
index 26d0704..5785c7c 100644
--- a/aops-apollo-tool/aops_apollo_tool/gen_updateinfo.py
+++ b/aops-apollo-tool/aops_apollo_tool/gen_updateinfo.py
@@ -144,8 +144,8 @@ def generate_package_list(package_dir: str) -> Element:
 
             filename.text = "%s-%s-%s.%s.rpm" % (
                 package.attrib['name'],
-                package.attrib['release'],
                 package.attrib['version'],
+                package.attrib['release'],
                 package.attrib['arch'],
             )
 
-- 
2.27.0

