Only write build number if incrementing, only increment if actually building