1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-06 03:13:48 +02:00

Use consistent string version of build targets.

This commit is contained in:
Jorin Vogel 2017-06-01 07:31:38 +02:00
parent cd56d57723
commit 5c1244e8e9
No known key found for this signature in database
GPG Key ID: 647AFD30D56CE8CC

View File

@ -91,7 +91,7 @@ func run(target buildTarget, command, env []string) error {
"GOARM="+target.goarm,
)
if out, err := cmd.CombinedOutput(); err != nil {
return fmt.Errorf("build failed: %s/%s %s\n%v", target.goos, target.goarch, target.goarm, string(out))
return fmt.Errorf("build failed: %s\n%v", target.PrettyString(), string(out))
}
return nil
}