add HAKO-VERSION checking
This commit is contained in:
parent
33f45eae02
commit
30a510cb17
6 changed files with 68 additions and 33 deletions
4
git.go
4
git.go
|
@ -41,7 +41,7 @@ func getProjectContainerName(lang string) (string, error) {
|
|||
}
|
||||
|
||||
projectName := filepath.Base(gitRoot)
|
||||
|
||||
|
||||
var pathComponents []string
|
||||
if relPath != "." {
|
||||
pathComponents = strings.Split(relPath, string(os.PathSeparator))
|
||||
|
@ -65,4 +65,4 @@ func sanitizeName(name string) string {
|
|||
result = strings.ReplaceAll(result, ".", "_")
|
||||
result = strings.ReplaceAll(result, "-", "_")
|
||||
return result
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue