Skip to content

v3.8.1

Latest

Choose a tag to compare

@github-actions github-actions released this 18 Nov 22:38
Immutable release. Only release title and notes can be modified.
a3fdb1c

Using Bzlmod

Add to your MODULE.bazel file:

bazel_dep(name = "bazel_lib", version = "3.8.1")

Using WORKSPACE (deprecated)

Paste this snippet into your WORKSPACE file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "bazel_lib",
    sha256 = "10599b11061eb630c81c7c3f4662f98bc70504cf9e0b4b97c948dea092919135",
    strip_prefix = "bazel-lib-3.8.1",
    url = "https://github.com/bazel-contrib/bazel-lib/releases/download/v3.8.1/bazel-lib-v3.8.1.tar.gz",
)

load("@bazel_lib//lib:repositories.bzl", "bazel_lib_dependencies", "bazel_lib_register_toolchains")

# Required bazel-lib dependencies

bazel_lib_dependencies()

# Required rules_shell dependencies
load("@rules_shell//shell:repositories.bzl", "rules_shell_dependencies", "rules_shell_toolchains")

rules_shell_dependencies()

rules_shell_toolchains()

# Register bazel-lib toolchains

bazel_lib_register_toolchains()

# Create the host platform repository transitively required by bazel-lib

load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
load("@platforms//host:extension.bzl", "host_platform_repo")

maybe(
    host_platform_repo,
    name = "host_platform",
)

What's Changed

Full Changelog: v3.8.0...v3.8.1