Skip to content

Commit 85fbfc5

Browse files
committed
build: fix release-prep.sh
1 parent c0a686d commit 85fbfc5

5 files changed

Lines changed: 2 additions & 726 deletions

File tree

.github/workflows/release_prep.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ SHA=$(shasum -a 256 $ARCHIVE | awk '{print $1}')
1717

1818
# Add generated API docs to the release, see https://github.com/bazelbuild/bazel-central-registry/issues/5593
1919
docs="$(mktemp -d)"; targets="$(mktemp)"
20-
bazel --output_base="$docs" query --output=label --output_file="$targets" 'kind("starlark_doc_extract rule", //...)'
20+
bazel --output_base="$docs" query --output=label 'kind("starlark_doc_extract rule", //...)' > "$targets"
2121
bazel --output_base="$docs" build --target_pattern_file="$targets"
2222
tar --create --auto-compress \
2323
--directory "$(bazel --output_base="$docs" info bazel-bin)" \

examples/simple/MODULE.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ local_path_override(
1111
path = "../..",
1212
)
1313

14+
# --SNIP-- (Below here is the generated documentation)
1415
bazel_dep(name = "aspect_bazel_lib", version = "2.22.2")

lefthook.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,6 @@ pre-commit:
1919
done
2020
stage_fixed: true
2121

22-
# Check for typos
23-
cspell:
24-
run: pnpm cspell lint --no-progress --no-summary {staged_files}
25-
exclude:
26-
- pnpm-lock.yaml
27-
- "*.lock"
28-
- lefthook.yml
29-
- package.json
30-
3122
# Note: The following pre-commit hooks are not available in lefthook or were removed:
3223
# - check-hooks-apply (meta hook, lefthook-specific)
3324
# - check-useless-excludes (meta hook, lefthook-specific)

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
"@commitlint/cli": "^20.3.0",
1010
"@commitlint/config-angular": "^20.3.0",
1111
"@evilmartians/lefthook": "^2.0.0",
12-
"cspell": "^9.4.0",
1312
"oxfmt": "^0.22.0"
1413
},
1514
"packageManager": "pnpm@10.27.0"

0 commit comments

Comments
 (0)