[ issue #1 ] 根据最新产品命名规范修改产品名称

修改:     interface/ri_oper.py
	修改:     operation/generate_issue.sh

Signed-off-by: Wei, Jing <jwei@linx-info.com>
This commit is contained in:
Wei, Jing
2021-06-29 18:24:38 +08:00
parent 6654f39a2d
commit 20962f85e1
2 changed files with 2 additions and 2 deletions

View File

@@ -334,7 +334,7 @@ class GenerateIssue(Operation):
fd=open("/tag","r")
string = fd.read()
list = string.split('\n')[0].split('-')
args = ['-v']+[list[0][5:]]+["-a"]+[list[1]]+["-r"]+[list[2]]+['-d']+['-'.join(list[3:])]
args = ['-v']+[list[0]]+["-a"]+[list[5]]+["-r"]+[list[6]]+["-d"]+['-'.join(list[2:5])]
fd.close()
return args

View File

@@ -62,7 +62,7 @@ generate_issue () {
local date="$4"
echo -e "\033[H\033[J"
echo "LinxOS ${arch} ${release} (\n) (\l)"
echo "LinxOS ${version} ${date} (\n) (\l)"
echo
echo