Retrieve the version number dynamically in the build script