Calculate a build revision for publishers