We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
scripts/publish.sh
1 parent 90c2cc5 commit 0b1cb02Copy full SHA for 0b1cb02
scripts/publish.sh
@@ -6,13 +6,12 @@
6
set -eu
7
8
ORDER=(types proc-macros core client/http-client client/transport client/ws-client client/wasm-client server jsonrpsee)
9
-DIR=$(pwd)
10
11
function read_toml () {
12
NAME=""
13
VERSION=""
14
NAME=$(grep "^name" ./Cargo.toml | sed -e 's/.*"\(.*\)"/\1/')
15
- VERSION=$(grep "^version" $DIR/Cargo.toml | sed -e 's/.*"\(.*\)"/\1/')
+ VERSION=$(grep "^version" ./Cargo.toml | sed -e 's/.*"\(.*\)"/\1/')
16
}
17
function remote_version () {
18
REMOTE_VERSION=""
0 commit comments