diff --git a/make.go b/make.go index 6ee80bfcb..9ad286b61 100644 --- a/make.go +++ b/make.go @@ -87,7 +87,7 @@ func build() error { {"github.com/drone/drone/cmd/drone-build", "bin/drone-build"}, } for _, bin := range bins { - ldf := fmt.Sprintf("-X main.revision %s -X main.version %s", sha, version) + ldf := fmt.Sprintf("-X main.revision=%s -X main.version=%s", sha, version) cmd := exec.Command("go", "build", "-o", bin.output, "-ldflags", ldf, bin.input) cmd.Stdout = os.Stdout cmd.Stderr = os.Stderr