From ed6b676a7cbf0efbbfbc614df288a235c6089e05 Mon Sep 17 00:00:00 2001 From: Herbert Fischer Date: Mon, 13 Nov 2017 16:06:32 +0100 Subject: [PATCH] Fix version generation --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index a7dc7ed..e06b518 100644 --- a/Makefile +++ b/Makefile @@ -19,6 +19,7 @@ dist: cleanup_dist $(PLATFORMS) $(PLATFORMS): $(eval GOOS := $(firstword $(subst -, ,$@))) $(eval GOARCH := $(lastword $(subst -, ,$@))) + go generate env GOOS=$(GOOS) GOARCH=$(GOARCH) go build -o $(DIST_DIR)/$(APPNAME).$(RELEASE).$@ md5: dist