Skip to content

Commit

Permalink
feat: being able to publish to bazel-central-repository
Browse files Browse the repository at this point in the history
  • Loading branch information
opicaud committed Nov 2, 2023
1 parent 6af898f commit 2fa4210
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 0 deletions.
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: opicaud
email: [email protected]
15 changes: 15 additions & 0 deletions .bcr/metadata.template.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"homepage": "https://github.com/opicaud/rules_pact",
"maintainers": [
{
"email": "[email protected]",
"github": "opicaud",
"name": "Olivier Picaud"
}
],
"repository": [
"github:opicaud/rules_pact" // <-- Replace OWNER and REPO with the correct values
],
"versions": [],
"yanked_versions": {}
}
10 changes: 10 additions & 0 deletions .bcr/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
bcr_test_module:
module_path: "e2e/bzlmod"
matrix:
platform: ["debian10", "macos", "ubuntu2004", "windows"]
tasks:
run_tests:
name: "Run test module"
platform: ${{ platform }}
test_targets:
- "//..."
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": "",
"strip_prefix": "{REPO}-{VERSION}",
"url": "https://github.com/{OWNER}/{REPO}/archive/refs/tags/{TAG}.tar.gz"
}

0 comments on commit 2fa4210

Please sign in to comment.