summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3e638f7..f13818a 100644
--- a/Makefile
+++ b/Makefile
@@ -7,11 +7,11 @@ VERSION := $(shell git describe --dirty --always)
all: $(BUILD_DIR)/$(TARGET_EXEC)
$(BUILD_DIR)/$(TARGET_EXEC):
- go build -ldflags "-X main.gitDescribe=$(VERSION)" -o $@ $(MODULE_NAME)
+ go build -ldflags "-X main.version=$(VERSION)" -o $@ $(MODULE_NAME)
.PHONY: debug
debug:
- go run -ldflags "-X main.gitDescribe=$(VERSION)" $(MODULE_NAME)
+ go run -ldflags "-X main.version=$(VERSION)" $(MODULE_NAME)
.PHONY: clean
clean: