Makefile: release: create tarball from current branch, not master
To support stable bugfix releases. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
8d22c1bab7
commit
c6715b69e4
2
Makefile
2
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
|
||||
|
Loading…
Reference in New Issue
Block a user