Skip to content

java: librarian generate diff after partial release #6411

Description

@zhumin8

It is expected for partial release. We only bump version for gapic-libraries-bom, but not the parent pom google-cloud-pom-parent. However, since they share the same x-version-update:google-cloud-java:current, I think there would be diff failures for the time being.

We may have to redesign the partial release process if we want to completely eliminate the diff. For example, maybe use one version for gapic-libraries-bom and another one for google-cloud-pom-parent.

Originally posted by @blakeli0 in #13447

Today, this means re-generation result won't match code base untill next snapshot PR is merged.

This generation diff happens because librarian sources google-cloud-java version (in librarian.yaml, same as versions.txt) when generating gapic-libraries-bom/pom.xml. But partial release changes leaves google-cloud-pom-parent behind.

Consider Java team now do partial releases quite often, we should fix this.
cc. @blakeli0 @JoeWang1127

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions