pull/232/head
wangchuxiao 3 years ago
parent 00b58068dc
commit 1efa654e7d

@ -68,7 +68,7 @@ func GetUploadAppNewName(appType int, version, fileName, yamlName string) (strin
}
suffixFile := path.Ext(fileName)
suffixYaml := path.Ext(yamlName)
newFileName = fmt.Sprintf("%s.%s", newFileName, suffixFile)
newYamlName = fmt.Sprintf("%s.%s", newYamlName, suffixYaml)
newFileName = fmt.Sprintf("%s%s", newFileName, suffixFile)
newYamlName = fmt.Sprintf("%s%s", newYamlName, suffixYaml)
return newFileName, newYamlName, nil
}

Loading…
Cancel
Save