diff --git a/main.go b/main.go index d1f626775..e5b8b344c 100644 --- a/main.go +++ b/main.go @@ -3,6 +3,7 @@ package main import ( "fmt" "os" + "runtime" "runtime/debug" "github.com/goreleaser/goreleaser/cmd" @@ -37,6 +38,7 @@ func buildVersion(version, commit, date, builtBy string) string { if builtBy != "" { result = fmt.Sprintf("%s\nbuilt by: %s", result, builtBy) } + result = fmt.Sprintf("%s\ngoos: %s\ngoarch: %s", result, runtime.GOOS, runtime.GOARCH) if info, ok := debug.ReadBuildInfo(); ok && info.Main.Sum != "" { result = fmt.Sprintf("%s\nmodule version: %s, checksum: %s", result, info.Main.Version, info.Main.Sum) }