From 05e35ac71a36e6edf95eed292cb1284c45980633 Mon Sep 17 00:00:00 2001 From: Thomas Boerger Date: Mon, 24 Aug 2015 14:59:25 +0200 Subject: [PATCH] Avoid warning about deprecated build paramaters within make.go --- make.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make.go b/make.go index 6ee80bfc..9ad286b6 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