From a67ec68b940b1ad1f843c107541010c320ee8724 Mon Sep 17 00:00:00 2001 From: John Kacur Date: Thu, 9 Jul 2015 15:32:40 +0200 Subject: Create an rt-tests.tar file using git-archive Create an rt-tests.tar file using git-archive so we don't mistakenly pull in uncommitted files Signed-off-by: John Kacur --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 1f7640b..07394e1 100644 --- a/Makefile +++ b/Makefile @@ -118,6 +118,7 @@ CLEANUP += $(if $(wildcard .git), ChangeLog) .PHONY: clean clean: for F in $(CLEANUP); do find -type f -name $$F | xargs rm -f; done + rm -f rt-tests-*.tar rm -f hwlatdetect rm -f tags @@ -165,6 +166,10 @@ release: distclean changelog rm -f ChangeLog cp rt-tests-$(VERSION).tar.gz rt-tests-$(VERSION).tar.asc releases +.PHONY: tarball +tarball: + git archive --worktree-attributes --prefix=rt-tests-${VERSION}/ -o rt-tests-${VERSION}.tar v${VERSION} + .PHONY: push push: release scripts/do-git-push $(VERSION) -- cgit 1.2.3-korg