Update the build task to include version information.