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.
This commit is contained in:
Hans-Christoph Steiner 2016-01-14 21:42:59 +01:00
parent 461e35dc51
commit 735b2985f7
1 changed files with 1 additions and 4 deletions

View File

@ -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