Skip to content

Commit 9629141

Browse files
committed
fix: remove workspace support
1 parent df55ca9 commit 9629141

1 file changed

Lines changed: 2 additions & 14 deletions

File tree

.github/workflows/release_prep.sh

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ git archive --format=tar --prefix=${PREFIX}/ ${TAG} | gzip > $ARCHIVE
1616
SHA=$(shasum -a 256 $ARCHIVE | awk '{print $1}')
1717

1818
cat << EOF
19-
## Using Bzlmod with Bazel 6
19+
## Using BZLMOD
2020
2121
1. Enable with \`common --enable_bzlmod\` in \`.bazelrc\`.
2222
2. Add to your \`MODULE.bazel\` file:
@@ -27,17 +27,5 @@ bazel_dep(name = "rules_distroless", version = "${TAG:1}")
2727
2828
## Using WORKSPACE
2929
30-
Paste this snippet into your `WORKSPACE.bazel` file:
31-
32-
\`\`\`starlark
33-
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
34-
http_archive(
35-
name = "rules_distroless",
36-
sha256 = "${SHA}",
37-
strip_prefix = "${PREFIX}",
38-
url = "https://github.com/GoogleContainerTools/rules_distroless/releases/download/${TAG}/${ARCHIVE}",
39-
)
30+
We do not support WORKSPACE. Use Bzlmod instead.
4031
EOF
41-
42-
awk 'f;/--SNIP--/{f=1}' e2e/smoke/WORKSPACE.bazel
43-
echo "\`\`\`"

0 commit comments

Comments
 (0)