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
This commit is contained in:
parent
a432c71c95
commit
626dfbd4ea
2
Makefile
2
Makefile
@ -80,7 +80,7 @@ tag:
|
|||||||
docs:
|
docs:
|
||||||
$(MAKE) -C docs apidoc html
|
$(MAKE) -C docs apidoc html
|
||||||
|
|
||||||
archive: tag
|
archive:
|
||||||
@git archive --format=tar --prefix=$(PKGNAME)-$(VERSION)/ $(TAG) > $(PKGNAME)-$(VERSION).tar
|
@git archive --format=tar --prefix=$(PKGNAME)-$(VERSION)/ $(TAG) > $(PKGNAME)-$(VERSION).tar
|
||||||
@gzip -f $(PKGNAME)-$(VERSION).tar
|
@gzip -f $(PKGNAME)-$(VERSION).tar
|
||||||
@echo "The archive is in $(PKGNAME)-$(VERSION).tar.gz"
|
@echo "The archive is in $(PKGNAME)-$(VERSION).tar.gz"
|
||||||
|
Loading…
Reference in New Issue
Block a user