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:
parent
461e35dc51
commit
735b2985f7
|
@ -51,9 +51,6 @@ projectname=`sed -n 's,.*name="app_name">\(.*\)<.*,\1,p' res/values/strings.xml`
|
||||||
export TZ=UTC
|
export TZ=UTC
|
||||||
TIMESTAMP=`printf '%(%Y-%m-%d %H:%M:%S)T' \
|
TIMESTAMP=`printf '%(%Y-%m-%d %H:%M:%S)T' \
|
||||||
$(git log -n1 --format=format:%at)`
|
$(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 reset --hard
|
||||||
git clean -fdx
|
git clean -fdx
|
||||||
|
@ -76,7 +73,7 @@ faketime "$TIMESTAMP" make -C external
|
||||||
|
|
||||||
./setup-ant
|
./setup-ant
|
||||||
|
|
||||||
faketime -f "$TIMESTAMP_5" ant release
|
ant release
|
||||||
|
|
||||||
apk=$projectroot/bin/$projectname-v$describe.apk
|
apk=$projectroot/bin/$projectname-v$describe.apk
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue