Skip to content

Commit

Permalink
Merge pull request #338 from fuzzypixelz/fix/release-workflow
Browse files Browse the repository at this point in the history
fix: Support jq 1.6 in `bump-and-tag.bash` scripy
  • Loading branch information
milyin authored Apr 17, 2024
2 parents 0571287 + 6c84a50 commit 97ca227
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 97ca227

Please sign in to comment.