Skip to content
Snippets Groups Projects
Commit 1b9e0b89 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

compile-medialibrary: Always use medialib tested hash

Not only for release builds. This will prevent build breakage each time
the medialibrary API changes
parent 6ddb1f5b
No related branches found
No related tags found
1 merge request!634Always use medialib tested hash
Pipeline #18737 passed with stage
in 17 minutes and 10 seconds
......@@ -90,6 +90,7 @@ if [ ! -d "${MEDIALIBRARY_MODULE_DIR}/medialibrary" ]; then
cd ${MEDIALIBRARY_MODULE_DIR}/medialibrary
# git checkout 0.5.x
git submodule update --init libvlcpp
git reset --hard ${MEDIALIBRARY_HASH}
else
cd ${MEDIALIBRARY_MODULE_DIR}/medialibrary
if ! git cat-file -e ${MEDIALIBRARY_HASH}; then
......@@ -98,9 +99,6 @@ else
rm -rf ${MEDIALIBRARY_MODULE_DIR}/jni/obj
fi
fi
if [ "$RELEASE" = "1" ]; then
git reset --hard ${MEDIALIBRARY_HASH}
fi
cd ${SRC_DIR}
#################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment