Skip to content

Commit

Permalink
Update buildozer to 7.1.2 (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
fmeum committed May 23, 2024
1 parent eee1190 commit 7871d11
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ bazel_dep(name = "bazel_features", version = "1.11.0")
buildozer_binary = use_extension("//:buildozer_binary.bzl", "buildozer_binary")
buildozer_binary.buildozer(
sha256 = {
"darwin-amd64": "6286bbbcb5314d675fcb4ede30edf397a68c611005412c937b2cc0c4bf4b714b",
"darwin-arm64": "0a2f70aa7b864de9bf71d1aac39659017b7a84169506e350d9ec77c609265212",
"linux-amd64": "9a7424aca7ca911c85cfedeadf065f0d95c492e80f0e29bd07ea98f6eb087259",
"linux-arm64": "07c8ed5ca3efea7e20756e9060660b7e658c781953c60650a1b99cd8bb857fcf",
"windows-amd64": "edad2e85cc691b064de9675db8e732b2c5a4ada0b32282ecdf4b18692cc8d3fe",
"darwin-amd64": "90da5cf4f7db73007977a8c6bec23fa7022265978187e1da8df5edc91daf6ee1",
"darwin-arm64": "bedff301bc51f04da46d2c8900c1753032ea88485af375a9f1b7bed0915558e0",
"linux-amd64": "8d5c459ab21b411b8be059a8bdf59f0d3eabf9dff943d5eccb80e36e525cc09d",
"linux-arm64": "a00d1790e8c92c5022d83e345d6629506836d73c23c5338d5f777589bfaed02d",
"windows-amd64": "3a650e10f07787760889d7e5694924d881265ae2384499fd59ada7c39c02366e",
},
version = "7.1.1",
version = "7.1.2",
)
use_repo(buildozer_binary, "buildozer_binary")

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This Bazel module provides a pinned, prebuilt version of [buildozer](https://git
1. Add the following line to your `MODULE.bazel` file:

```starlark
bazel_dep(name = "buildozer", version = "7.1.1", dev_dependency = True)
bazel_dep(name = "buildozer", version = "7.1.2", dev_dependency = True)
```

2. Run buildozer via `bazel run`:
Expand All @@ -29,7 +29,7 @@ You can also use buildozer in a repository rule or module extension, i.e., durin
1. Add the following line to your `MODULE.bazel` file:

```starlark
bazel_dep(name = "buildozer", version = "7.1.1")
bazel_dep(name = "buildozer", version = "7.1.2")
``````

2. In your repository rule or module extension implementation function, get the path to the buildozer binary as follows:
Expand All @@ -54,7 +54,7 @@ If you dont want to or can't `load` from `@buildozer`, you can also use the foll
1. Add the following lines to your `MODULE.bazel` file:

```starlark
bazel_dep(name = "buildozer", version = "7.1.1")
bazel_dep(name = "buildozer", version = "7.1.2")

buildozer_binary = use_extension("@buildozer//:buildozer_binary.bzl", "buildozer_binary")
use_repo(buildozer_binary, "buildozer_binary")
Expand Down
2 changes: 1 addition & 1 deletion release/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ echo "dict_set sha256 ${sha256_dict}|//MODULE.bazel:%buildozer_binary.buildozer"
bazel run @buildozer -- -f "$buildozer_cmds_file"

# Update README.md
sed -i "s/version = \"[^\"]*\"/version = \"$version\"/" README.md
sed -i.bak "s/version = \"[^\"]*\"/version = \"$version\"/" README.md && rm README.md.bak

0 comments on commit 7871d11

Please sign in to comment.