From 4874823240c80d404540c5792558a670da2623c2 Mon Sep 17 00:00:00 2001 From: Zachary Yedidia Date: Thu, 13 Feb 2020 20:00:35 -0500 Subject: [PATCH] Fix makefile tags dependencies --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 078c5d4a..4d536210 100644 --- a/Makefile +++ b/Makefile @@ -17,8 +17,7 @@ build: build-dbg: go build -ldflags "-s -w $(ADDITIONAL_GO_LINKER_FLAGS)" ./cmd/micro -build-tags: - git fetch --tags +build-tags: fetch-tags go build -ldflags "-s -w $(GOVARS) $(ADDITIONAL_GO_LINKER_FLAGS)" ./cmd/micro # Builds micro after building the runtime and checking dependencies @@ -39,6 +38,9 @@ install-all: runtime install install-quick: go install -ldflags "-s -w $(GOVARS) $(ADDITIONAL_GO_LINKER_FLAGS)" ./cmd/micro +fetch-tags: + git fetch --tags + # Builds the runtime runtime: git submodule update --init