Skip to content

Commit

Permalink
14.0.5 bump (#524)
Browse files Browse the repository at this point in the history
* 14.0.5 bump

* Update the script.
  • Loading branch information
tomusdrw committed Nov 28, 2019
1 parent d2e0bb7 commit 23e6097
Show file tree
Hide file tree
Showing 14 changed files with 21 additions and 26 deletions.
21 changes: 8 additions & 13 deletions _automate/publish.sh
Expand Up @@ -2,20 +2,15 @@

set -exu

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

VERSION=$(grep "^version" ./core/Cargo.toml | sed -e 's/.*"\(.*\)"/\1/')
echo "Publishing version $VERSION"
cargo clean

for crate in ${ORDER[@]}; do
cd $crate
echo "Publishing $crate@$VERSION"
sleep 5
cargo publish $@ || read -p "\n\t Publishing $crate failed. Press [enter] to continue."
cd -
done

echo "Tagging version $VERSION"
git tag -a v$VERSION -m "Version $VERSION"
read -p "\n\t Press [enter] to continue."
cargo release --dry-run --sign --skip-push --no-dev-version
read -p "\n\t Press [enter] to confirm release the plan."
cargo release --sign --skip-push --no-dev-version
echo "Release finished."
git push
git push --tags
2 changes: 1 addition & 1 deletion core-client/Cargo.toml
Expand Up @@ -8,7 +8,7 @@ keywords = ["jsonrpc", "json-rpc", "json", "rpc", "serde"]
license = "MIT"
name = "jsonrpc-core-client"
repository = "https://github.com/paritytech/jsonrpc"
version = "14.0.4"
version = "14.0.5"

categories = [
"asynchronous",
Expand Down
2 changes: 1 addition & 1 deletion core-client/transports/Cargo.toml
Expand Up @@ -8,7 +8,7 @@ keywords = ["jsonrpc", "json-rpc", "json", "rpc", "serde"]
license = "MIT"
name = "jsonrpc-client-transports"
repository = "https://github.com/paritytech/jsonrpc"
version = "14.0.4"
version = "14.0.5"

categories = [
"asynchronous",
Expand Down
2 changes: 1 addition & 1 deletion core/Cargo.toml
Expand Up @@ -8,7 +8,7 @@ keywords = ["jsonrpc", "json-rpc", "json", "rpc", "serde"]
license = "MIT"
name = "jsonrpc-core"
repository = "https://github.com/paritytech/jsonrpc"
version = "14.0.4"
version = "14.0.5"

categories = [
"asynchronous",
Expand Down
2 changes: 1 addition & 1 deletion derive/Cargo.toml
Expand Up @@ -7,7 +7,7 @@ homepage = "https://github.com/paritytech/jsonrpc"
license = "MIT"
name = "jsonrpc-derive"
repository = "https://github.com/paritytech/jsonrpc"
version = "14.0.4"
version = "14.0.5"

[lib]
proc-macro = true
Expand Down
2 changes: 1 addition & 1 deletion http/Cargo.toml
Expand Up @@ -8,7 +8,7 @@ keywords = ["jsonrpc", "json-rpc", "json", "rpc", "server"]
license = "MIT"
name = "jsonrpc-http-server"
repository = "https://github.com/paritytech/jsonrpc"
version = "14.0.4"
version = "14.0.5"

[dependencies]
hyper = "0.12"
Expand Down
2 changes: 1 addition & 1 deletion ipc/Cargo.toml
Expand Up @@ -7,7 +7,7 @@ homepage = "https://github.com/paritytech/jsonrpc"
license = "MIT"
name = "jsonrpc-ipc-server"
repository = "https://github.com/paritytech/jsonrpc"
version = "14.0.4"
version = "14.0.5"

[dependencies]
log = "0.4"
Expand Down
2 changes: 1 addition & 1 deletion pubsub/Cargo.toml
Expand Up @@ -8,7 +8,7 @@ keywords = ["jsonrpc", "json-rpc", "json", "rpc", "macros"]
license = "MIT"
name = "jsonrpc-pubsub"
repository = "https://github.com/paritytech/jsonrpc"
version = "14.0.4"
version = "14.0.5"

[dependencies]
log = "0.4"
Expand Down
2 changes: 1 addition & 1 deletion pubsub/more-examples/Cargo.toml
Expand Up @@ -3,7 +3,7 @@ name = "jsonrpc-pubsub-examples"
description = "Examples of Publish-Subscribe extension for jsonrpc."
homepage = "https://github.com/paritytech/jsonrpc"
repository = "https://github.com/paritytech/jsonrpc"
version = "14.0.4"
version = "14.0.5"
authors = ["tomusdrw <tomasz@parity.io>"]
license = "MIT"

Expand Down
2 changes: 1 addition & 1 deletion server-utils/Cargo.toml
Expand Up @@ -8,7 +8,7 @@ keywords = ["jsonrpc", "json-rpc", "json", "rpc", "serde"]
license = "MIT"
name = "jsonrpc-server-utils"
repository = "https://github.com/paritytech/jsonrpc"
version = "14.0.4"
version = "14.0.5"

[dependencies]
bytes = "0.4"
Expand Down
2 changes: 1 addition & 1 deletion stdio/Cargo.toml
Expand Up @@ -7,7 +7,7 @@ homepage = "https://github.com/paritytech/jsonrpc"
license = "MIT"
name = "jsonrpc-stdio-server"
repository = "https://github.com/paritytech/jsonrpc"
version = "14.0.4"
version = "14.0.5"

[dependencies]
futures = "0.1.23"
Expand Down
2 changes: 1 addition & 1 deletion tcp/Cargo.toml
Expand Up @@ -7,7 +7,7 @@ homepage = "https://github.com/paritytech/jsonrpc"
license = "MIT"
name = "jsonrpc-tcp-server"
repository = "https://github.com/paritytech/jsonrpc"
version = "14.0.4"
version = "14.0.5"

[dependencies]
log = "0.4"
Expand Down
2 changes: 1 addition & 1 deletion test/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "jsonrpc-test"
description = "Simple test framework for JSON-RPC."
version = "14.0.4"
version = "14.0.5"
authors = ["Tomasz Drwięga <tomasz@parity.io>"]
license = "MIT"
homepage = "https://github.com/paritytech/jsonrpc"
Expand Down
2 changes: 1 addition & 1 deletion ws/Cargo.toml
Expand Up @@ -7,7 +7,7 @@ homepage = "https://github.com/paritytech/jsonrpc"
license = "MIT"
name = "jsonrpc-ws-server"
repository = "https://github.com/paritytech/jsonrpc"
version = "14.0.4"
version = "14.0.5"

[dependencies]
jsonrpc-core = { version = "14.0", path = "../core" }
Expand Down

0 comments on commit 23e6097

Please sign in to comment.