public static void updateProject(ReleaseContext context) throws Exception {
Collection< ? extends Builder> builders = context.getProject().getBuilder(null).getSubBuilders();
for (Builder builder : builders) {
Baseline current = getBaselineForBuilder(builder, context);
if (current == null) {
continue;
}
for (Info info : current.getPackageInfos()) {
context.getProject().setPackageInfo(info.packageName, info.suggestedVersion);
}
updateBundleVersion(context, current, builder);
}