See this failing evergreen task. The relevant error is:
Traceback (most recent call last): File "build/calc_release_version.py", line 205, in <module> RELEASE_VER = previous(main()) if PREVIOUS else main() File "build/calc_release_version.py", line 112, in main head_tag_ver = check_head_tag() File "build/calc_release_version.py", line 77, in check_head_tag release_tag_match = RELEASE_TAG_RE.match(tag) TypeError: cannot use a string pattern on a bytes-like object CMake Error at CMakeLists.txt:10 (_message): BUILD_VERSION not specified and could not be calculated (script invocation failed); specify in CMake command, -DBUILD_VERSION=<version> Call Stack (most recent call first): CMakeLists.txt:97 (message)