Commit 9e2f1a55 by 据说甜蜜呢

修改方法GetNameSpace

parent b4de3044
Pipeline #4146 passed with stage
in 15 seconds
......@@ -46,7 +46,7 @@ function GetAppName()
function GetNameSpace()
{
GetMajor major
declare namespace=($(grep -oP '(?<=Namespace>)[^<]+' "devops/app.props"))
declare namespace=($(grep -oP '(?<=NameSpace>)[^<]+' "./devops/app.props"))
declare namespaceOfK8s=$(echo "${namespace}-v${major}" | tr 'A-Z' 'a-z')
eval $1=${namespaceOfK8s}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment