Skip to content

Commit

Permalink
makefile ldflags update for version
Browse files Browse the repository at this point in the history
  • Loading branch information
dselans committed Aug 6, 2020
1 parent 3803ebd commit b843c52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b843c52

Please sign in to comment.