bug 1060697 - extract version number from build directory