[tor-commits] [torbrowser/maint-2.2] use git archive so I can make signed source tarballs from signed tags

erinn at torproject.org erinn at torproject.org
Sat Sep 10 01:31:52 UTC 2011


commit 550e9e8f7413ccfea8fb461b793d26c17a27efa2
Author: Erinn Clark <erinn at torproject.org>
Date:   Sat Sep 10 02:29:47 2011 +0100

    use git archive so I can make signed source tarballs from signed tags
---
 build-scripts/windows.mk |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/build-scripts/windows.mk b/build-scripts/windows.mk
index 7d257d4..09299a2 100644
--- a/build-scripts/windows.mk
+++ b/build-scripts/windows.mk
@@ -481,9 +481,5 @@ SRCNAME=$(COMPRESSED_NAME)
 SRCDEST=/tmp
 SRCDESTPATH=$(SRCDEST)/$(SRCNAME)
 srcdist:
-	rm -fr $(SRCDESTPATH)
-	git clone -b maint-2.2 git://git.torproject.org/torbrowser.git \
-		$(SRCDESTPATH)
-	cd $(SRCDEST); tar --exclude src/archived-patches \
-	--exclude src/processtest --exclude .git -czvf $(SRCNAME)-src.tar.gz $(SRCNAME)
+	git archive --format=tar --prefix=tor-browser-$(VERSION)-src/ torbrowser-$(VERSION) | gzip -9 > $(PWD)/tor-browser-$(VERSION)-src.tar.gz
 



More information about the tor-commits mailing list