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