[tor-commits] [orbot/master] make-release-build: remove faketime from `ant release`

n8fr8 at torproject.org n8fr8 at torproject.org
Mon Jan 25 17:08:43 UTC 2016


commit 735b2985f72fbabe7d6a080636a48842933c07ac
Author: Hans-Christoph Steiner <hans at eds.org>
Date:   Thu Jan 14 21:42:59 2016 +0100

    make-release-build: remove faketime from `ant release`
    
    It is too problematic and there are other ways to make those final parts of
    the APK reproducible.
---
 make-release-build |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/make-release-build b/make-release-build
index 23aa5e2..19dc5b7 100755
--- a/make-release-build
+++ b/make-release-build
@@ -51,9 +51,6 @@ projectname=`sed -n 's,.*name="app_name">\(.*\)<.*,\1,p' res/values/strings.xml`
 export TZ=UTC
 TIMESTAMP=`printf '%(%Y-%m-%d %H:%M:%S)T' \
     $(git log -n1 --format=format:%at)`
-# run the clock at 5% speed, ant requires a moving clock
-TIMESTAMP_5=`printf '@%(%Y-%m-%d %H:%M:%S)T x0.05' \
-    $(git log -n1 --format=format:%at)`
 
 git reset --hard
 git clean -fdx
@@ -76,7 +73,7 @@ faketime "$TIMESTAMP" make -C external
 
 ./setup-ant
 
-faketime -f "$TIMESTAMP_5" ant release
+ant release
 
 apk=$projectroot/bin/$projectname-v$describe.apk
 





More information about the tor-commits mailing list