add HAKO-VERSION checking

This commit is contained in:
Luna 2025-06-10 21:39:03 -03:00
parent 33f45eae02
commit 30a510cb17
6 changed files with 68 additions and 33 deletions

4
git.go
View file

@ -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
}
}