Skip to content

Commit

Permalink
fix: Support jq 1.6
Browse files Browse the repository at this point in the history
ubuntu-22.04 runners use jq 1.6 which doesn't recognize a dot for `[]` value iterator.

See: jqlang/jq#1168.
  • Loading branch information
fuzzypixelz authored and diogomatsubara committed Jul 10, 2024
1 parent 5a3c424 commit 5b019f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/scripts/bump-and-tag.bash
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ git commit version.txt Cargo.toml Cargo.toml.in Cargo.lock -m "chore: Bump versi

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

0 comments on commit 5b019f7

Please sign in to comment.