Skip to content

Commit

Permalink
remove vendor build support for create releases (#468)
Browse files Browse the repository at this point in the history
  • Loading branch information
labkode committed Jan 13, 2020
1 parent f3c5618 commit 573316b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/create-artifacts/main.go
Expand Up @@ -81,7 +81,7 @@ func main() {
for _, o := range oses {
for _, arch := range archs {
out := fmt.Sprintf("./dist/%s_%s_%s_%s", bin, *version, o, arch)
args := []string{"build", "-mod=vendor", "-o", out, "-ldflags", ldFlags, "./cmd/" + bin}
args := []string{"build", "-o", out, "-ldflags", ldFlags, "./cmd/" + bin}
cmd := exec.Command("go", args...)
cmd.Env = os.Environ()
cmd.Env = append(cmd.Env, []string{"GOOS=" + o, "GOARCH=" + arch}...)
Expand Down

0 comments on commit 573316b

Please sign in to comment.