Skip to content

[bazel/infra] Add manual BCR release workflow#567

Merged
shameekganguly merged 1 commit intogz-sensors10from
shameek/bcr
Jan 2, 2026
Merged

[bazel/infra] Add manual BCR release workflow#567
shameekganguly merged 1 commit intogz-sensors10from
shameek/bcr

Conversation

@shameekganguly
Copy link
Copy Markdown
Contributor

Internal tooling

Summary

Adds the publish.yaml workflow to release a tag to the Bazel Central Registry (BCR). This workflow uses the official reusable publish-to-bcr workflow from the bazel team.

For now, the workflow must be triggered manually. Once we have iron'ed out any unforeseen issues over a few releases, we can tie it to our release automation.

The following template files are added to mirror the existing files in the latest manual bcr release for gz-sensors.

  • .bcr/metadata.template.json
  • .bcr/presubmit.yml
  • .bcr/source.template.json

Some of the fields are auto-populated by publish-to-bcr based on the repo details when creating a PR in BCR.

Note that MODULE.bazel will be auto-patched by publish-to-bcr to insert the new version based on the tag e.g. tag gz-sensors10_10.0.0 --> version 10.0.0. This version will also be added to metadata.json alongside existing versions.

Testing

This PR mirrors the BCR setup for gz-utils: gazebosim/gz-utils#192. See testing instructions there.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Added example and/or tutorial
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers
  • Was GenAI used to generate this PR? If so, make sure to add "Generated-by" to your commits. (See this policy for more info.)

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by and Generated-by messages.

Signed-off-by: Shameek Ganguly <shameek@intrinsic.ai>
@github-project-automation github-project-automation bot moved this from Inbox to In review in Core development Dec 16, 2025
@shameekganguly shameekganguly merged commit 14051ea into gz-sensors10 Jan 2, 2026
15 checks passed
@github-project-automation github-project-automation bot moved this from In review to Done in Core development Jan 2, 2026
@shameekganguly shameekganguly deleted the shameek/bcr branch January 2, 2026 18:50
@shameekganguly
Copy link
Copy Markdown
Contributor Author

@Mergifyio backport main gz-sensors9

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Jan 2, 2026

backport main gz-sensors9

✅ Backports have been created

Details

mergify bot pushed a commit that referenced this pull request Jan 2, 2026
Adds the publish.yaml workflow to release a tag to the Bazel Central Registry (BCR). This workflow uses the official reusable publish-to-bcr workflow from the bazel team.

Signed-off-by: Shameek Ganguly <shameek@intrinsic.ai>
(cherry picked from commit 14051ea)
mergify bot pushed a commit that referenced this pull request Jan 2, 2026
Adds the publish.yaml workflow to release a tag to the Bazel Central Registry (BCR). This workflow uses the official reusable publish-to-bcr workflow from the bazel team.

Signed-off-by: Shameek Ganguly <shameek@intrinsic.ai>
(cherry picked from commit 14051ea)
shameekganguly added a commit that referenced this pull request Jan 6, 2026
Adds the publish.yaml workflow to release a tag to the Bazel Central Registry (BCR). This workflow uses the official reusable publish-to-bcr workflow from the bazel team.


(cherry picked from commit 14051ea)

Signed-off-by: Shameek Ganguly <shameek@intrinsic.ai>
Co-authored-by: Shameek Ganguly <shameek@intrinsic.ai>
shameekganguly added a commit that referenced this pull request Jan 6, 2026
Adds the publish.yaml workflow to release a tag to the Bazel Central Registry (BCR). This workflow uses the official reusable publish-to-bcr workflow from the bazel team.


(cherry picked from commit 14051ea)

Signed-off-by: Shameek Ganguly <shameek@intrinsic.ai>
Co-authored-by: Shameek Ganguly <shameek@intrinsic.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🪵 jetty Gazebo Jetty

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants