Skip to content

Commit

Permalink
Merge pull request #129 from adamreese/fix/ldflags
Browse files Browse the repository at this point in the history
fix(Makefile): fix ldflags version
  • Loading branch information
adamreese committed Nov 14, 2017
2 parents 9f69ad2 + 563d1e1 commit 1b57e53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -10,9 +10,9 @@ IMAGES = brigade-api brigade-controller brigade-gateway brigade-worker git-
DOCKER_BINS = brigade-api brigade-controller brigade-gateway

GIT_TAG = $(shell git describe --tags --always 2>/dev/null)
LDFLAGS += -X github.com/Azure/brigade/pkg/version.Version=$(VERSION)
VERSION ?= ${GIT_TAG}
IMAGE_TAG ?= ${VERSION}
LDFLAGS += -X github.com/Azure/brigade/pkg/version.Version=$(VERSION)

# Build native binaries
.PHONY: build
Expand Down

0 comments on commit 1b57e53

Please sign in to comment.