From 96aa2331099b4036f7fbae2c38331e68b8f47c45 Mon Sep 17 00:00:00 2001 From: folex <0xdxdy@gmail.com> Date: Wed, 6 Jan 2021 18:50:11 +0300 Subject: [PATCH] Fix crate version gathering --- .github/workflows/publish_release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.yml index 3d308fd..df9ab8e 100644 --- a/.github/workflows/publish_release.yml +++ b/.github/workflows/publish_release.yml @@ -63,7 +63,7 @@ jobs: # For all crates in the workspace accumulate its max_version for CRATE_NAME in $(cargo ws list) 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) done # Take the highest version of all