fix(build): support generating unversioned libraries in OwlBot config by blakeli0 · Pull Request #13336 · googleapis/google-cloud-java (original) (raw)

This PR adds support for generating unversioned libraries (such as backstory) in the hermetic build OwlBot configuration. Historically, only versioned libraries (with v1, v1beta, etc. directories) were supported in deep-copy regex. For example, new library generation for backstory didn't trigger any code changes.

This PR checks if a version component is present and conditionally outputs versioned or unversioned copy patterns.