From c24b0ee48b00167d5d9d6b48b56413f8738bd7e1 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Wed, 17 Aug 2022 09:08:43 -0400 Subject: [PATCH] install mage with go install (#936) (#937) (cherry picked from commit 1ebffe9334bc945510290b56df15efe6ad8220c4) Co-authored-by: Victor Martinez --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 37022ff7d7d..19eca744b78 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ export MAGE_IMPORT_PATH mage: ifndef MAGE_PRESENT @echo Installing mage $(MAGE_VERSION). - @go get -ldflags="-X $(MAGE_IMPORT_PATH)/mage.gitTag=$(MAGE_VERSION)" ${MAGE_IMPORT_PATH}@$(MAGE_VERSION) + @go install ${MAGE_IMPORT_PATH}@$(MAGE_VERSION) @-mage -clean endif @true