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
mentioned in merge request !1371 (merged)