Skip to content

Commit

Permalink
Add configuration to mirror github releases to bazel central registry
Browse files Browse the repository at this point in the history
  • Loading branch information
Gautam Korlam authored and Gautam Korlam committed Nov 11, 2023
1 parent 54bef51 commit 815c1a4
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .bcr/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Bazel Central Registry

When the ruleset is released, we want it to be published to the
Bazel Central Registry automatically:
<https://registry.bazel.build>

This folder contains configuration files to automate the publish step.
See <https://github.com/bazel-contrib/publish-to-bcr/blob/main/templates/README.md>
for authoritative documentation about these files.
3 changes: 3 additions & 0 deletions .bcr/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fixedReleaser:
login: UebelAndre
email: 26427366+UebelAndre@users.noreply.github.com
18 changes: 18 additions & 0 deletions .bcr/metadata.template.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"homepage": "https://github.com/bazelbuild/rules_rust",
"maintainers": [
{
"email": "26427366+UebelAndre@users.noreply.github.com",
"github": "UebelAndre",
"name": "UebelAndre"
},
{
"email": "1131704+illicitonion@users.noreply.github.com",
"github": "illicitonion",
"name": "Daniel Wagner-Hall"
}
],
"repository": ["github:bazelbuild/rules_rust"],
"versions": [],
"yanked_versions": {}
}
1 change: 1 addition & 0 deletions .bcr/presubmit.yml
5 changes: 5 additions & 0 deletions .bcr/source.template.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"integrity": "**leave this alone**",
"strip_prefix": "",
"url": "https://github.com/{OWNER}/{REPO}/releases/download/{TAG}/{REPO}-{VERSION}.tar.gz"
}

0 comments on commit 815c1a4

Please sign in to comment.