bazel-contrib / publish-to-bcr

A GitHub app that mirrors releases of your Bazel ruleset to the Central Registry
Apache License 2.0
22 stars 11 forks source link

fix: extraction of multi-module release archive #147

Closed kormide closed 8 months ago

kormide commented 8 months ago

I introduced this bug in https://github.com/bazel-contrib/publish-to-bcr/pull/144. I was determining the path to a submodule within a multi-module release archive via the bcr metadata rather than assuming it's part of the strip prefix, but that doesn't make sense for actual module resolution. It's now assumed to be part of the strip prefix.

Closes https://github.com/bazel-contrib/publish-to-bcr/issues/146

fyi @aignas