From 4884c14ab3493679e25776a571b2e290c515081a Mon Sep 17 00:00:00 2001 From: decentral1se Date: Thu, 15 Jul 2021 23:26:47 +0200 Subject: [PATCH] Can't sort this as VERSION is not defined then --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0b67f76b..f11f6bcd 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ ABRA := ./cmd/abra COMMIT := $(shell git rev-list -1 HEAD) GOPATH := $(shell go env GOPATH) -LDFLAGS := "-X 'main.Commit=$(COMMIT)' -X 'main.Version=$(VERSION)'" VERSION := $(shell cat ./version) +LDFLAGS := "-X 'main.Commit=$(COMMIT)' -X 'main.Version=$(VERSION)'" all: run install build clean format check