extract version infos