Skip to content

v2.7.8

Compare
Choose a tag to compare
@github-actions github-actions released this 21 Jun 21:19
· 52 commits to main since this release
18ae5a8

Using Bzlmod with Bazel 6:

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "aspect_bazel_lib", version = "2.7.8")

Read more about bzlmod: https://blog.aspect.dev/bzlmod

Using WORKSPACE

Paste this snippet into your WORKSPACE file:

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

http_archive(
    name = "aspect_bazel_lib",
    sha256 = "714cf8ce95a198bab0a6a3adaffea99e929d2f01bf6d4a59a2e6d6af72b4818c",
    strip_prefix = "bazel-lib-2.7.8",
    url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.7.8/bazel-lib-v2.7.8.tar.gz",
)

load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies", "aspect_bazel_lib_register_toolchains")

# Required bazel-lib dependencies

aspect_bazel_lib_dependencies()

# Register bazel-lib toolchains

aspect_bazel_lib_register_toolchains()

What's Changed

  • test: add test / example of using rootpath on a run_binary directory output by @gregmagolan in #862
  • chore: add --check_direct_dependencies to .bazelrc by @gregmagolan in #864
  • fix: Directory hidden files in write_source_file. by @jgiles in #860
  • docs: add missing default stamp var by @alexeagle in #865
  • chore: upgrade bsdtar to 3.7.4 by @alexeagle in #866
  • fix: allow copy_to_directory to have an empty srcs list by @gregmagolan in #871

New Contributors

Full Changelog: v2.7.7...v2.7.8