Skip to content
Snippets Groups Projects
Commit 927f372d authored by Duncan McNamara's avatar Duncan McNamara
Browse files

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
parent a919bce1
No related branches found
No related tags found
1 merge request!1310MedialibraryBuild: fix release tag and hash check
Pipeline #204740 passed with stage
in 21 minutes and 33 seconds
...@@ -137,7 +137,7 @@ fi ...@@ -137,7 +137,7 @@ fi
cd ${MEDIALIBRARY_BUILD_DIR} cd ${MEDIALIBRARY_BUILD_DIR}
if [ "$RELEASE" = "1" ]; then 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" avlc_checkfail "Release builds must use tags"
fi fi
......
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