diff options
-rw-r--r-- | templater/templater.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templater/templater.go b/templater/templater.go index 89cc1cd732b5..3c8d2ccdbdfa 100644 --- a/templater/templater.go +++ b/templater/templater.go @@ -171,7 +171,7 @@ func templateFuncs(rs *context.ResourceSet) template.FuncMap { } m["passLookup"] = GetFromPass m["gitHEAD"] = func() (string, error) { - out, err := exec.Command("sh", "-c", "git rev-parse HEAD").Output() + out, err := exec.Command("git", "rev-parse", "HEAD").Output() if err != nil { return "", err } |