From 626dfbd4ea8bc239233072d36d63d7d131603863 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Thu, 14 Nov 2019 14:28:50 -0800 Subject: [PATCH] Makefile: archive should not run git tag This causes 'make vm' to tag the current commit as 'HEAD' which causes no end of confusion. Related: rhbz#1770193 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index be42b7d8..720e9d79 100644 --- a/Makefile +++ b/Makefile @@ -80,7 +80,7 @@ tag: docs: $(MAKE) -C docs apidoc html -archive: tag +archive: @git archive --format=tar --prefix=$(PKGNAME)-$(VERSION)/ $(TAG) > $(PKGNAME)-$(VERSION).tar @gzip -f $(PKGNAME)-$(VERSION).tar @echo "The archive is in $(PKGNAME)-$(VERSION).tar.gz"