Use 0 as the revision number if it's a local build