diff --git a/.bcr/README.md b/.bcr/README.md new file mode 100644 index 0000000..44ae7fe --- /dev/null +++ b/.bcr/README.md @@ -0,0 +1,9 @@ +# Bazel Central Registry + +When the ruleset is released, we want it to be published to the +Bazel Central Registry automatically: + + +This folder contains configuration files to automate the publish step. +See +for authoritative documentation about these files. diff --git a/.bcr/config.yml b/.bcr/config.yml new file mode 100644 index 0000000..c78ab7e --- /dev/null +++ b/.bcr/config.yml @@ -0,0 +1,5 @@ +# See https://github.com/bazel-contrib/publish-to-bcr#a-note-on-release-automation + +fixedReleaser: + login: alexeagle + email: alex@aspect.dev diff --git a/.bcr/metadata.template.json b/.bcr/metadata.template.json new file mode 100644 index 0000000..4d4e3fe --- /dev/null +++ b/.bcr/metadata.template.json @@ -0,0 +1,17 @@ +{ + "homepage": "https://github.com/bazelbuild/rules_license", + "maintainers": [ + { + "github": "aiuto", + "name": "Tony Aiuto" + }, + { + "email": "alex@aspect.dev", + "github": "alexeagle", + "name": "Alex Eagle" + } + ], + "repository": ["github:bazelbuild/rules_license"], + "versions": [], + "yanked_versions": {} +} diff --git a/.bcr/presubmit.yml b/.bcr/presubmit.yml new file mode 100644 index 0000000..405faef --- /dev/null +++ b/.bcr/presubmit.yml @@ -0,0 +1,13 @@ +matrix: + platform: + - centos7 + - debian10 + - ubuntu2004 + - macos + - windows +tasks: + verify_targets: + name: Verify build targets + platform: ${{ platform }} + build_targets: + - "@rules_license//tests/..." \ No newline at end of file diff --git a/.bcr/source.template.json b/.bcr/source.template.json new file mode 100644 index 0000000..318b0f1 --- /dev/null +++ b/.bcr/source.template.json @@ -0,0 +1,5 @@ +{ + "integrity": "**leave this alone**", + "strip_prefix": "{REPO}-{VERSION}", + "url": "https://github.com/{OWNER}/{REPO}/releases/download/{TAG}/rules_license-{TAG}.tar.gz" +} diff --git a/MODULE.bazel b/MODULE.bazel index 3d95eba..72ccd61 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -1,6 +1,6 @@ module( name = "rules_license", - version = "0.0.7", # Keep in sync with version.bzl + version = "0.0.0", compatibility_level = 1, )