[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [torbrowser/maint-2.2] use git archive so I can make signed source tarballs from signed tags
commit 550e9e8f7413ccfea8fb461b793d26c17a27efa2
Author: Erinn Clark <erinn@xxxxxxxxxxxxxx>
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
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits