Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish failed due to "Could not find MODULE.bazel", not sure how to debug #176

Open
jmillikin opened this issue Nov 16, 2024 · 0 comments

Comments

@jmillikin
Copy link
Contributor

I just cut rules_m4 v0.2.4 (https://github.com/jmillikin/rules_m4/releases/tag/v0.2.4), but publish-to-bcr failed:

Failed to publish entry for jmillikin/[email protected] to the Bazel Central Registry.

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

The source archive does contain a MODULE.bazel file at the top level:

$ tar -tf rules_m4-v0.2.4.tar.xz | grep MODULE
MODULE.bazel

I suspect the underlying cause is somewhere in the recently-added .tar.xz support (is it not extracting properly?), but the error email contains no logs or information so it's difficult to debug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant