From 0ae962cbc9eb2b49707c0f1dc82799ce5b0df614 Mon Sep 17 00:00:00 2001 From: Dmitry <98899785+mdqst@users.noreply.github.com> Date: Tue, 15 Apr 2025 20:24:36 +0300 Subject: [PATCH 1/2] fix: version parsing for sub-crates in loop --- scripts/publish.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/publish.sh b/scripts/publish.sh index af158d961b..b0e33b03ef 100755 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -12,7 +12,7 @@ function read_toml () { NAME="" VERSION="" NAME=$(grep "^name" ./Cargo.toml | sed -e 's/.*"\(.*\)"/\1/') - VERSION=$(grep "^version" $DIR/Cargo.toml | sed -e 's/.*"\(.*\)"/\1/') + VERSION=$(grep "^version" ./Cargo.toml | sed -e 's/.*"\(.*\)"/\1/') } function remote_version () { REMOTE_VERSION="" From da58d6a939517d94aa4ca459a48b042b86194111 Mon Sep 17 00:00:00 2001 From: Dmitry <98899785+mdqst@users.noreply.github.com> Date: Mon, 21 Apr 2025 14:41:08 +0300 Subject: [PATCH 2/2] Update publish.sh --- scripts/publish.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/publish.sh b/scripts/publish.sh index b0e33b03ef..fe70d159bb 100755 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -6,7 +6,6 @@ set -eu ORDER=(types proc-macros core client/http-client client/transport client/ws-client client/wasm-client server jsonrpsee) -DIR=$(pwd) function read_toml () { NAME=""