diff --git a/.goreleaser.yml b/.goreleaser.yml index 0c035b85..1bd13f4a 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -40,7 +40,6 @@ builds: - linux goarch: - amd64 - - '386' - arm - arm64 ignore: @@ -68,22 +67,10 @@ builds: ldflags: - '-s -w -X {{ .ModulePath }}/version.Version={{.Version}} -X {{ .ModulePath }}/version.VersionPrerelease= ' goos: - - netbsd - - openbsd - - freebsd - windows - - solaris goarch: - amd64 - '386' - - arm - ignore: - - goos: windows - goarch: arm - - goos: solaris - goarch: arm - - goos: solaris - goarch: '386' binary: '{{ .ProjectName }}_v{{ .Version }}_{{ .Env.API_VERSION }}_{{ .Os }}_{{ .Arch }}' archives: - format: zip diff --git a/builder/vmware/common/driver_fusion6.go b/builder/vmware/common/driver_fusion6.go index 63f6cd25..b16059a7 100644 --- a/builder/vmware/common/driver_fusion6.go +++ b/builder/vmware/common/driver_fusion6.go @@ -137,7 +137,7 @@ func (d *Fusion6Driver) ToolsIsoPath(k string) string { if err := cmd.Run(); err != nil { log.Printf("[DEBUG] failed to execute vmware-vmx command to get version %v", err) log.Printf("[DEBUG] continuing with default iso path for fusion6+.") - return filepath.Join(d.AppPath, "Contents", "Library", "isoimages", "x86_64", k+".iso") + return filepath.Join(d.AppPath, "Contents", "Library", "isoimages", "x86_x64", k+".iso") } versionRe := regexp.MustCompile(`(?i)VMware [a-z0-9-]+ (\d+)\.`) matches := versionRe.FindStringSubmatch(stderr.String())