Skip to content

Commit 23e6097

Browse files
authored
14.0.5 bump (#524)
* 14.0.5 bump * Update the script.
1 parent d2e0bb7 commit 23e6097

14 files changed

Lines changed: 21 additions & 26 deletions

File tree

_automate/publish.sh

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,15 @@
22

33
set -exu
44

5-
VERSION=$(grep "^version" ./core/Cargo.toml | sed -e 's/.*"\(.*\)"/\1/')
6-
ORDER=(core server-utils tcp ws http ipc stdio pubsub core-client/transports core-client derive test)
5+
# NOTE https://github.com/sunng87/cargo-release is required.
76

7+
VERSION=$(grep "^version" ./core/Cargo.toml | sed -e 's/.*"\(.*\)"/\1/')
88
echo "Publishing version $VERSION"
99
cargo clean
10-
11-
for crate in ${ORDER[@]}; do
12-
cd $crate
13-
echo "Publishing $crate@$VERSION"
14-
sleep 5
15-
cargo publish $@ || read -p "\n\t Publishing $crate failed. Press [enter] to continue."
16-
cd -
17-
done
18-
19-
echo "Tagging version $VERSION"
20-
git tag -a v$VERSION -m "Version $VERSION"
10+
read -p "\n\t Press [enter] to continue."
11+
cargo release --dry-run --sign --skip-push --no-dev-version
12+
read -p "\n\t Press [enter] to confirm release the plan."
13+
cargo release --sign --skip-push --no-dev-version
14+
echo "Release finished."
15+
git push
2116
git push --tags

core-client/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ keywords = ["jsonrpc", "json-rpc", "json", "rpc", "serde"]
88
license = "MIT"
99
name = "jsonrpc-core-client"
1010
repository = "https://github.com/paritytech/jsonrpc"
11-
version = "14.0.4"
11+
version = "14.0.5"
1212

1313
categories = [
1414
"asynchronous",

core-client/transports/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ keywords = ["jsonrpc", "json-rpc", "json", "rpc", "serde"]
88
license = "MIT"
99
name = "jsonrpc-client-transports"
1010
repository = "https://github.com/paritytech/jsonrpc"
11-
version = "14.0.4"
11+
version = "14.0.5"
1212

1313
categories = [
1414
"asynchronous",

core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ keywords = ["jsonrpc", "json-rpc", "json", "rpc", "serde"]
88
license = "MIT"
99
name = "jsonrpc-core"
1010
repository = "https://github.com/paritytech/jsonrpc"
11-
version = "14.0.4"
11+
version = "14.0.5"
1212

1313
categories = [
1414
"asynchronous",

derive/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ homepage = "https://github.com/paritytech/jsonrpc"
77
license = "MIT"
88
name = "jsonrpc-derive"
99
repository = "https://github.com/paritytech/jsonrpc"
10-
version = "14.0.4"
10+
version = "14.0.5"
1111

1212
[lib]
1313
proc-macro = true

http/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ keywords = ["jsonrpc", "json-rpc", "json", "rpc", "server"]
88
license = "MIT"
99
name = "jsonrpc-http-server"
1010
repository = "https://github.com/paritytech/jsonrpc"
11-
version = "14.0.4"
11+
version = "14.0.5"
1212

1313
[dependencies]
1414
hyper = "0.12"

ipc/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ homepage = "https://github.com/paritytech/jsonrpc"
77
license = "MIT"
88
name = "jsonrpc-ipc-server"
99
repository = "https://github.com/paritytech/jsonrpc"
10-
version = "14.0.4"
10+
version = "14.0.5"
1111

1212
[dependencies]
1313
log = "0.4"

pubsub/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ keywords = ["jsonrpc", "json-rpc", "json", "rpc", "macros"]
88
license = "MIT"
99
name = "jsonrpc-pubsub"
1010
repository = "https://github.com/paritytech/jsonrpc"
11-
version = "14.0.4"
11+
version = "14.0.5"
1212

1313
[dependencies]
1414
log = "0.4"

pubsub/more-examples/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "jsonrpc-pubsub-examples"
33
description = "Examples of Publish-Subscribe extension for jsonrpc."
44
homepage = "https://github.com/paritytech/jsonrpc"
55
repository = "https://github.com/paritytech/jsonrpc"
6-
version = "14.0.4"
6+
version = "14.0.5"
77
authors = ["tomusdrw <tomasz@parity.io>"]
88
license = "MIT"
99

server-utils/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ keywords = ["jsonrpc", "json-rpc", "json", "rpc", "serde"]
88
license = "MIT"
99
name = "jsonrpc-server-utils"
1010
repository = "https://github.com/paritytech/jsonrpc"
11-
version = "14.0.4"
11+
version = "14.0.5"
1212

1313
[dependencies]
1414
bytes = "0.4"

0 commit comments

Comments
 (0)