[Buildroot] [git commit branch/2013.08.x] Makefile: release: create tarball from current branch, not master

Peter Korsgaard jacmet at sunsite.dk
Tue Sep 17 11:42:07 UTC 2013


commit: http://git.buildroot.net/buildroot/commit/?id=8ab57bf9338f3a47683294aed6425f39828cbf80
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/2013.08.x

To support stable bugfix releases.

Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 70749ef..45444c8 100644
--- a/Makefile
+++ b/Makefile
@@ -841,7 +841,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


More information about the buildroot mailing list