diff options
author | John Kacur <jkacur@redhat.com> | 2015-07-09 15:32:40 +0200 |
---|---|---|
committer | John Kacur <jkacur@redhat.com> | 2015-07-09 15:32:40 +0200 |
commit | a67ec68b940b1ad1f843c107541010c320ee8724 (patch) | |
tree | 1fa0a4383b95dc0b5dde7c1124a796867e27c9bc | |
parent | b6b5c594b2861f10a615cfa7b324523800eea267 (diff) | |
download | rt-tests-a67ec68b940b1ad1f843c107541010c320ee8724.tar.gz |
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 <jkacur@redhat.com>
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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) |