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:
parent
cd56d57723
commit
5c1244e8e9
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user