[Android] MLBuild: invert tag check condition for release
Duncan McNamara
git at videolan.org
Fri Mar 25 10:49:03 UTC 2022
vlc-android | branch: master | Duncan McNamara <dcn.mcnamara at gmail.com> | Wed Mar 23 11:22:16 2022 +0100| [a919bce17fd926b3079791c2b4fd87c18083e199] | committer: Duncan McNamara
MLBuild: invert tag check condition for release
> https://code.videolan.org/videolan/vlc-android/commit/a919bce17fd926b3079791c2b4fd87c18083e199
---
buildsystem/compile-medialibrary.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/buildsystem/compile-medialibrary.sh b/buildsystem/compile-medialibrary.sh
index 77ea99dc8..6cf3bdd6a 100755
--- a/buildsystem/compile-medialibrary.sh
+++ b/buildsystem/compile-medialibrary.sh
@@ -136,7 +136,7 @@ fi
cd ${MEDIALIBRARY_BUILD_DIR}
-if [ "$RELEASE" = "0" ]; then
+if [ "$RELEASE" = "1" ]; then
git describe --exact-match --tags ${MEDIALIBRARY_HASH} > /dev/null || \
avlc_checkfail "Release builds must use tags"
fi
More information about the Android
mailing list