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

The publishing app stopped working for rules_python #146

Closed aignas closed 8 months ago

aignas commented 8 months ago

As discussed on Slack, it seems that the issue is in the publishing app. We have two modules in the repo and we get the following error

For Gazelle, it says this in the email:
 Failed to publish entry for bazelbuild/rules_python@0.30.0 to the Bazel Central Registry.

 Could not find MODULE.bazel in release archive at ./rules_python-0.30.0/gazelle/gazelle/MODULE.bazel.
 Is the strip prefix in source.template.json correct? (currently it's 'rules_python-0.30.0/gazelle')

The strip prefix in https://github.com/bazelbuild/rules_python/blob/main/.bcr/gazelle/source.template.json#L3 seems to be as intended.