Build and update version.