This directory contains templates used by the Publish to BCR GitHub Action to automatically publish new versions of cel-spec to the Bazel Central Registry (BCR).
- metadata.template.json: Contains repository metadata including homepage, maintainers, and repository location
- source.template.json: Template for generating the source.json file that tells BCR where to download release archives
- presubmit.yml: Defines build and test tasks that BCR will run to verify each published version
When a new tag matching the pattern v*.*.* is created:
- The GitHub Actions workflow
.github/workflows/publish_to_bcr.ymlis triggered - The workflow uses these templates to generate a BCR entry
- A pull request is automatically created against the Bazel Central Registry
- Once merged, the new version becomes available to Bazel users via bzlmod
The following variables are automatically substituted:
{OWNER}: Repository owner (google){REPO}: Repository name (cel-spec){VERSION}: Version number extracted from the tag (e.g.,0.26.0fromv0.26.0){TAG}: Full tag name (e.g.,v0.26.0)