[Android] MLBuild: release tag check on current hash
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:23:26 2022 +0100| [927f372dc4bbcdc83c7d8a16cfa4b49839f767cf] | committer: Duncan McNamara
MLBuild: release tag check on current hash
The tag check done when building for release should be done on the
current hash, and not medialibrary hash which is kept for local builds
> https://code.videolan.org/videolan/vlc-android/commit/927f372dc4bbcdc83c7d8a16cfa4b49839f767cf
---
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 6cf3bdd6a..62a962cff 100755
--- a/buildsystem/compile-medialibrary.sh
+++ b/buildsystem/compile-medialibrary.sh
@@ -137,7 +137,7 @@ fi
cd ${MEDIALIBRARY_BUILD_DIR}
if [ "$RELEASE" = "1" ]; then
- git describe --exact-match --tags ${MEDIALIBRARY_HASH} > /dev/null || \
+ git describe --exact-match HEAD > /dev/null || \
avlc_checkfail "Release builds must use tags"
fi
More information about the Android
mailing list