Fix crate version gathering

This commit is contained in:
folex 2021-01-06 18:50:11 +03:00
parent 4e68c43ad4
commit 96aa233109

View File

@ -63,7 +63,7 @@ jobs:
# For all crates in the workspace accumulate its max_version # For all crates in the workspace accumulate its max_version
for CRATE_NAME in $(cargo ws list) for CRATE_NAME in $(cargo ws list)
do do
CRATE_VERSION="$((cargo show --json "$PKG_NAME" | jq -r .crate.max_version) 2>/dev/null || true)" CRATE_VERSION="$((cargo show --json "$CRATE_NAME" | jq -r .crate.max_version) 2>/dev/null || true)"
ALL_CRATES_VERSIONS+=($CRATE_VERSION) ALL_CRATES_VERSIONS+=($CRATE_VERSION)
done done
# Take the highest version of all # Take the highest version of all