releaser: Adapt release logic to docs submodule

This commit is contained in:
Bjørn Erik Pedersen
2017-06-15 20:36:40 +02:00
parent ccb8300d38
commit 00e2fe077a
3 changed files with 39 additions and 16 deletions

View File

@@ -152,7 +152,7 @@ func git(args ...string) (string, error) {
cmd := exec.Command("git", args...)
out, err := cmd.CombinedOutput()
if err != nil {
return "", fmt.Errorf("git failed: %q: %q", err, out)
return "", fmt.Errorf("git failed: %q: %q (%q)", err, out, args)
}
return string(out), nil
}