Skip to content

Commit f79426d

Browse files
committed
Release archive is created based on the release tag
Signed-off-by: Alexey Gladkov <legion@kernel.org>
1 parent 28d7b15 commit f79426d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ $(SUBDIRS):
6969
$(MAKE) $(MFLAGS) -C "$@" $(MAKECMDGOALS)
7070

7171
$(PROJECT)-$(VERSION).tar.xz:
72-
tar --transform='s,^,$(PROJECT)-$(VERSION)/,' -Jcf $@ \
73-
shell-* gen-* contrib tests docs LICENSE COPYING Makefile
72+
git archive --prefix='$(PROJECT)-$(VERSION)/' v$(VERSION) | xz -c > $@
7473

7574
$(PROJECT)-$(VERSION).tar.sign: $(PROJECT)-$(VERSION).tar.xz
7675
xz -d -c $^ | \

0 commit comments

Comments
 (0)