Using Bzlmod with Bazel 6 or greater
- (Bazel 6 only) Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "com_myorg_rules_mylang", version = "0.3.0")
Using WORKSPACE
Paste this snippet into your WORKSPACE.bazel
file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "com_myorg_rules_mylang",
sha256 = "5a4db7036fe5489890eda3240f8be3b990bb6f297cf7db8a1e1ece0c78d8ef37",
strip_prefix = "rules_mylang-0.3.0",
url = "https://github.com/myorg/rules_mylang/releases/download/v0.3.0/rules_mylang-v0.3.0.tar.gz",
)
######################
# rules_mylang setup #
######################
# Fetches the rules_mylang dependencies.
# If you want to have a different version of some dependency,
# you should fetch it *before* calling this.
# Alternatively, you can skip calling this function, so long as you've
# already fetched all the dependencies.
load("@com_myorg_rules_mylang//mylang:repositories.bzl", "rules_mylang_dependencies")
rules_mylang_dependencies()
What's Changed
- ci(pre-commit): Enable pre-commit CI and renovate by @hofbi in #130
- Propose more basic pre-commit hooks by @hofbi in #134
- ci: All github actions are .yaml files by @hofbi in #137
- chore(deps): update dependency bazel to v7.5.0 by @renovate[bot] in #126
- chore(deps): update pre-commit hook commitizen-tools/commitizen to v4.4.1 by @renovate[bot] in #142
- feat: use new Publish to BCR reusable workflow by @alexeagle in #143
- Declare metadata using
@package_metadata
by @Yannic in #145 - fix: Add new-tag-version-type as an output to the tag job before referring it from release by @tharakadesilva in #146
- fix: auto-tagging more promptly by @alexeagle in #147
- fix: don't set module version outside BCR by @jjmaestro in #148
- Update
@package_metadata
to latest release by @Yannic in #156 - fix: correct automatic release tagging delay to two weeks by @dcarp in #161
New Contributors
- @hofbi made their first contribution in #130
- @tharakadesilva made their first contribution in #146
- @jjmaestro made their first contribution in #148
- @dcarp made their first contribution in #161
Full Changelog: v0.2.0...v0.3.0