I would also like to add to Ed's response by stating that in a mature organization the build and deployment of software is typically automated. This means that the tools that perform the build and distribution should automatically update your CMDB with all appropriate information.