Skip to content

Commit 3d3a153

Browse files
committed
fix: Support jq 1.6
ubuntu-22.04 runners use jq 1.6 which doesn't recognize a dot for `[]` value iterator. See: jqlang/jq#1168.
1 parent 36a047e commit 3d3a153

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/scripts/bump-and-tag.bash

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ git commit Cargo.toml pyproject.toml -m "chore: Bump version to $version"
3939

4040
# Select all package dependencies that match $bump_deps_pattern and bump them to $bump_deps_version
4141
if [[ "$bump_deps_pattern" != '' ]]; then
42-
deps=$(toml get Cargo.toml dependencies | jq -r "keys.[] | select(test(\"$bump_deps_pattern\"))")
42+
deps=$(toml get Cargo.toml dependencies | jq -r "keys[] | select(test(\"$bump_deps_pattern\"))")
4343
for dep in $deps; do
4444
if [[ -n $bump_deps_version ]]; then
4545
toml_set_in_place Cargo.toml "dependencies.$dep.version" "$bump_deps_version"

0 commit comments

Comments
 (0)