Get version for lens HEAD automatically