From: Peter Korsgaard Date: Tue, 17 Sep 2013 11:42:07 +0000 (+0200) Subject: Makefile: release: create tarball from current branch, not master X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c6715b69e467182ee5242d7484caace2088340c8;p=buildroot.git Makefile: release: create tarball from current branch, not master To support stable bugfix releases. Signed-off-by: Peter Korsgaard --- diff --git a/Makefile b/Makefile index 2163e95a52..6ef0edc2bb 100644 --- a/Makefile +++ b/Makefile @@ -838,7 +838,7 @@ release: OUT=buildroot-$(BR2_VERSION) # Create release tarballs. We need to fiddle a bit to add the generated # documentation to the git output release: - git archive --format=tar --prefix=$(OUT)/ master > $(OUT).tar + git archive --format=tar --prefix=$(OUT)/ HEAD > $(OUT).tar $(MAKE) O=$(OUT) manual-html manual-txt manual-pdf tar rf $(OUT).tar $(OUT) gzip -9 -c < $(OUT).tar > $(OUT).tar.gz