read version and build from manifest