mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-24 04:16:27 +02:00
Merge pull request #246 from goreleaser/builderrmsg
Clearify build failed error message (cc #244).
This commit is contained in:
commit
1110e3f259
@ -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: %v\n%v", target, string(out))
|
||||
return fmt.Errorf("build failed: %s/%s %s\n%v", target.goos, target.goarch, target.goarm, string(out))
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user