Skip to content

Add support for BCR publishing#99

Merged
2 commits merged intomainfrom
jchadwick/publish-to-bcr
Jun 6, 2025
Merged

Add support for BCR publishing#99
2 commits merged intomainfrom
jchadwick/publish-to-bcr

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Jun 6, 2025

Unfortunately we will probably need a couple of tries to get this right, but hopefully this is very close to what we want.

Closes #98.

@ghost ghost requested review from smaye81 and srikrsna-buf June 6, 2025 16:06
@ghost
Copy link
Copy Markdown
Author

ghost commented Jun 6, 2025

(I can add other people to the maintainer list. I am adding myself though because bcr-bot will actually be the creator of the PRs in this setup, so I'm paranoid that having one maintainer might result in a deadlock in some cases.)

Comment thread MODULE.bazel
module(name = "protovalidate-cc")
module(
name = "protovalidate-cc",
version = "0.0.0",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this version be the actual version of protovalidate-cc? Not sure if this is intended.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is intended, the release_prep phase will set the version.

Comment thread README.md
remote = "https://github.com/bufbuild/protovalidate-cc.git",
commit = "<commit hash>"
)
bazel_dep(name = "protovalidate-cc", version = "1.0.0-rc2")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be rc.1?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rc1 can never be in the BCR because it has a dependency that can't be satisfied. So the soonest possible BCR release is whatever comes after that

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should, however, have been rc.2. My bad :)

@ghost ghost merged commit eb034c8 into main Jun 6, 2025
8 checks passed
@ghost ghost deleted the jchadwick/publish-to-bcr branch June 6, 2025 18:01
This pull request was closed.
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

Successfully merging this pull request may close these issues.

[Feature Request] Publish to BCR

1 participant