From f27a735616db6d6b785254e4cf9f25a9e8abb4f0 Mon Sep 17 00:00:00 2001 From: Alex Eagle Date: Mon, 11 Mar 2024 18:12:05 -0700 Subject: [PATCH] chore: improve bzlmod install instructions (#111) it didn't account for Bazel 7 --- .github/workflows/release_prep.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release_prep.sh b/.github/workflows/release_prep.sh index cf07386..135e882 100755 --- a/.github/workflows/release_prep.sh +++ b/.github/workflows/release_prep.sh @@ -16,9 +16,9 @@ git archive --format=tar --prefix=${PREFIX}/ ${TAG} | gzip > $ARCHIVE SHA=$(shasum -a 256 $ARCHIVE | awk '{print $1}') cat << EOF -## Using Bzlmod with Bazel 6 +## Using Bzlmod with Bazel 6 or greater -1. Enable with \`common --enable_bzlmod\` in \`.bazelrc\`. +1. (Bazel 6 only) Enable with \`common --enable_bzlmod\` in \`.bazelrc\`. 2. Add to your \`MODULE.bazel\` file: \`\`\`starlark