summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2013-09-17 11:42:07 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-09-17 12:00:04 (GMT)
commitc6715b69e467182ee5242d7484caace2088340c8 (patch)
treeee40e092f3859516646d55c03af2335a2b7f9b13
parent8d22c1bab7a36f636171ba263deb80fed86298b1 (diff)
downloadbuildroot-c6715b69e467182ee5242d7484caace2088340c8.tar.gz
buildroot-c6715b69e467182ee5242d7484caace2088340c8.tar.bz2
Makefile: release: create tarball from current branch, not master
To support stable bugfix releases. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2163e95..6ef0edc 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