fix: solve issues with tags not being loaded

This commit is contained in:
Pieter Vincken
2020-06-09 19:56:04 +02:00
parent 28045399f3
commit cd25740b61

View File

@@ -50,7 +50,7 @@ func ClonerUsingGitExec(repoSpec *RepoSpec) error {
"fetch", "fetch",
"--depth=1", "--depth=1",
"origin", "origin",
repoSpec.Ref) "FETCH_HEAD")
cmd.Dir = repoSpec.Dir.String() cmd.Dir = repoSpec.Dir.String()
out, err = cmd.CombinedOutput() out, err = cmd.CombinedOutput()
if err != nil { if err != nil {