Build: Validate number of generated manifests

To prevent a pre-release with a missing manifest file in the future, I've added a bit of validation to check if there's one manifest for each source file. When running this on top of #1240, the task runs to the end - currently it correctly fails.