Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .bcr/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
bcr_test_module:
module_path: "examples/gem"
matrix:
bazel: ["8.x", "7.x", "6.x"]
bazel: ["8.x", "7.x"]
# NB: Windows is removed due to https://github.com/bazel-contrib/rules_ruby/issues/64
platform: ["debian10", "macos", "ubuntu2004"]
tasks:
Expand Down
36 changes: 1 addition & 35 deletions .github/workflows/release_prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,45 +23,11 @@ tar --create --auto-compress \

# The stdout of this program will be used as the top of the release notes for this release.
cat << EOF
## Using Bzlmod with Bazel 7-8
## Using Bzlmod

1. Add to your \`MODULE.bazel\` file:

\`\`\`starlark
bazel_dep(name = "rules_ruby", version = "${TAG:1}")
\`\`\`

## Using Bzlmod with Bazel 6

1. Enable with \`common --enable_bzlmod\` in \`.bazelrc\`.
2. Add to your \`MODULE.bazel\` file:

\`\`\`starlark
bazel_dep(name = "rules_ruby", version = "${TAG:1}")
\`\`\`

## Using WORKSPACE

Paste this snippet into your \`WORKSPACE.bazel\` file:

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

# Skylib is a dependency, remove if you already have it.
http_archive(
name = "bazel_skylib",
sha256 = "74d544d96f4a5bb630d465ca8bbcfe231e3594e5aae57e1edbf17a6eb3ca2506",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz",
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz",
],
)

http_archive(
name = "rules_ruby",
sha256 = "${SHA}",
strip_prefix = "${PREFIX}",
url = "https://github.com/bazel-contrib/rules_ruby/releases/download/${TAG}/${ARCHIVE}",
)
\`\`\`
EOF
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ The ruleset is known to work with:

- Bazel 8 using WORKSPACE and Bzlmod _(tested on CI)_.
- Bazel 7 using WORKSPACE and Bzlmod _(no longer tested on CI)_.
- Bazel 6 using WORKSPACE and Bzlmod _(no longer tested on CI)_.

## Getting Started

Expand Down
Loading