[Android] In release mode, force the tested hash

Jean-Baptiste Kempf git at videolan.org
Thu Feb 23 22:52:45 CET 2017


vlc-android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Feb 23 22:52:33 2017 +0100| [a1349a22906d981da0d067523d93b56575dc81ab] | committer: Jean-Baptiste Kempf

In release mode, force the tested hash

> https://code.videolan.org/videolan/vlc-android/commit/a1349a22906d981da0d067523d93b56575dc81ab
---

 compile.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/compile.sh b/compile.sh
index 980f661..decb3dd 100755
--- a/compile.sh
+++ b/compile.sh
@@ -183,6 +183,9 @@ else
 EOF
         exit 1
     fi
+    if [ "$RELEASE" = 1 ]; then
+        git reset --hard ${TESTED_HASH}
+    fi
     cd ..
 fi
 



More information about the Android mailing list