From b843c52947e24748263e450718ab388b67ba9f95 Mon Sep 17 00:00:00 2001 From: Daniel Selans Date: Thu, 6 Aug 2020 15:36:04 -0700 Subject: [PATCH] makefile ldflags update for version --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 945286e0..0253a310 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ BINARY = plumber GO = CGO_ENABLED=$(CGO_ENABLED) GOFLAGS=-mod=vendor go CGO_ENABLED ?= 0 -GO_BUILD_FLAGS = -ldflags "-X main.Version=${VERSION}" +GO_BUILD_FLAGS = -ldflags "-X github.com/batchcorp/plumber/cli.version=${VERSION}" # Pattern #1 example: "example : description = Description for example target" # Pattern #2 example: "### Example separator text