From e40d5a9ed46823d2bd122ccb12f3bf157ac5226e Mon Sep 17 00:00:00 2001 From: Alan Sapede Date: Mon, 28 Jun 2021 09:37:35 -0400 Subject: [PATCH] Updates binary to v0.8.4 (#546) * Updates binary to v0.8.4 * Updates also moonbase --- Cargo.lock | 14 +++++++------- README.md | 8 ++++---- node/Cargo.toml | 2 +- node/cli-opt/Cargo.toml | 2 +- node/service/Cargo.toml | 2 +- runtime/moonbase/Cargo.toml | 2 +- runtime/moonbeam/Cargo.toml | 2 +- runtime/moonriver/Cargo.toml | 2 +- runtime/moonshadow/Cargo.toml | 2 +- scripts/bump-node-version.sh | 22 ++++++++++++++++++++++ 10 files changed, 40 insertions(+), 18 deletions(-) create mode 100755 scripts/bump-node-version.sh diff --git a/Cargo.lock b/Cargo.lock index 1bdf68045f..4fe06159fc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4771,7 +4771,7 @@ dependencies = [ [[package]] name = "moonbase-runtime" -version = "0.8.0-dev" +version = "0.8.4" dependencies = [ "account", "cumulus-pallet-parachain-system", @@ -4843,7 +4843,7 @@ dependencies = [ [[package]] name = "moonbeam" -version = "0.8.2" +version = "0.8.4" dependencies = [ "assert_cmd", "futures 0.3.14", @@ -4888,7 +4888,7 @@ dependencies = [ [[package]] name = "moonbeam-cli-opt" -version = "0.8.2" +version = "0.8.4" [[package]] name = "moonbeam-core-primitives" @@ -5068,7 +5068,7 @@ dependencies = [ [[package]] name = "moonbeam-runtime" -version = "0.8.0-dev" +version = "0.8.4" dependencies = [ "account", "cumulus-pallet-parachain-system", @@ -5135,7 +5135,7 @@ dependencies = [ [[package]] name = "moonbeam-service" -version = "0.8.2" +version = "0.8.4" dependencies = [ "ansi_term 0.12.1", "assert_cmd", @@ -5256,7 +5256,7 @@ dependencies = [ [[package]] name = "moonriver-runtime" -version = "0.8.2" +version = "0.8.4" dependencies = [ "account", "cumulus-pallet-parachain-system", @@ -5323,7 +5323,7 @@ dependencies = [ [[package]] name = "moonshadow-runtime" -version = "0.8.2" +version = "0.8.4" dependencies = [ "account", "cumulus-pallet-parachain-system", diff --git a/README.md b/README.md index c44d120172..632deabe03 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Docker images are published for every tagged release. Learn more with `moonbeam ```bash # Join the public testnet -docker run --network="host" purestake/moonbeam:v0.8.2 --chain alphanet +docker run --network="host" purestake/moonbeam:v0.8.4 --chain alphanet ``` You can find more detailed instructions to [run a full node in our TestNet](https://docs.moonbeam.network/node-operators/networks/full-node/) @@ -27,7 +27,7 @@ service. ```bash # Run a dev service node. -docker run --network="host" purestake/moonbeam:v0.8.2 --dev +docker run --network="host" purestake/moonbeam:v0.8.4 --dev ``` For more information, see our detailed instructions to [run a development node](https://docs.moonbeam.network/getting-started/local-node/setting-up-a-node/) @@ -38,10 +38,10 @@ The command above will start the node in instant seal mode. It creates a block w ```bash # Author a block every 6 seconds. -docker run --network="host" purestake/moonbeam:v0.8.2 --dev --sealing 6000 +docker run --network="host" purestake/moonbeam:v0.8.4 --dev --sealing 6000 # Manually control the block authorship and finality -docker run --network="host" purestake/moonbeam:v0.8.2 --dev --sealing manual +docker run --network="host" purestake/moonbeam:v0.8.4 --dev --sealing manual ``` ### Prefunded Development Addresses diff --git a/node/Cargo.toml b/node/Cargo.toml index 9f7b46ee22..546bba34f0 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -3,7 +3,7 @@ name = 'moonbeam' description = 'Moonbeam Collator' homepage = 'https://moonbeam.network' license = 'GPL-3.0-only' -version = '0.8.2' +version = '0.8.4' authors = ["PureStake"] edition = '2018' diff --git a/node/cli-opt/Cargo.toml b/node/cli-opt/Cargo.toml index 223df423be..25dcfca083 100644 --- a/node/cli-opt/Cargo.toml +++ b/node/cli-opt/Cargo.toml @@ -2,7 +2,7 @@ name = 'moonbeam-cli-opt' homepage = 'https://moonbeam.network' license = 'GPL-3.0-only' -version = '0.8.2' +version = '0.8.4' authors = ["PureStake"] edition = '2018' diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index 4a1c5b9907..77b6846ea6 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -2,7 +2,7 @@ name = 'moonbeam-service' homepage = 'https://moonbeam.network' license = 'GPL-3.0-only' -version = '0.8.2' +version = '0.8.4' authors = ["PureStake"] edition = '2018' diff --git a/runtime/moonbase/Cargo.toml b/runtime/moonbase/Cargo.toml index ce4ec44c11..164e7eb2ea 100644 --- a/runtime/moonbase/Cargo.toml +++ b/runtime/moonbase/Cargo.toml @@ -3,7 +3,7 @@ name = 'moonbase-runtime' description = 'Moonbase Runtime' homepage = 'https://moonbeam.network' license = 'GPL-3.0-only' -version = '0.8.0-dev' +version = '0.8.4' authors = ["PureStake"] edition = '2018' build = "build.rs" diff --git a/runtime/moonbeam/Cargo.toml b/runtime/moonbeam/Cargo.toml index eb93cd24d2..51af8e1461 100644 --- a/runtime/moonbeam/Cargo.toml +++ b/runtime/moonbeam/Cargo.toml @@ -3,7 +3,7 @@ name = 'moonbeam-runtime' description = 'Moonbeam Runtime' homepage = 'https://moonbeam.network' license = 'GPL-3.0-only' -version = '0.8.0-dev' +version = '0.8.4' authors = ["PureStake"] edition = '2018' build = "build.rs" diff --git a/runtime/moonriver/Cargo.toml b/runtime/moonriver/Cargo.toml index c2289f5170..ec22dc8ac2 100644 --- a/runtime/moonriver/Cargo.toml +++ b/runtime/moonriver/Cargo.toml @@ -3,7 +3,7 @@ name = 'moonriver-runtime' description = 'Moonriver Runtime' homepage = 'https://moonbeam.network' license = 'GPL-3.0-only' -version = '0.8.2' +version = '0.8.4' authors = ["PureStake"] edition = '2018' build = "build.rs" diff --git a/runtime/moonshadow/Cargo.toml b/runtime/moonshadow/Cargo.toml index 745322e26b..d8aa194c1f 100644 --- a/runtime/moonshadow/Cargo.toml +++ b/runtime/moonshadow/Cargo.toml @@ -3,7 +3,7 @@ name = 'moonshadow-runtime' description = 'Moonshadow Runtime' homepage = 'https://moonbeam.network' license = 'GPL-3.0-only' -version = '0.8.2' +version = '0.8.4' authors = ["PureStake"] edition = '2018' build = "build.rs" diff --git a/scripts/bump-node-version.sh b/scripts/bump-node-version.sh new file mode 100755 index 0000000000..19b0c73499 --- /dev/null +++ b/scripts/bump-node-version.sh @@ -0,0 +1,22 @@ +#!/bin/bash + +if [ -z "$2" ]; then + echo "Usage: $0 " + echo "Ex: $0 0.8.3 0.8.5" + exit 1 +fi + +FROM=$1 +TO=$2 +sed -i "s/purestake\/moonbeam:v$FROM/purestake\/moonbeam:v$TO/" README.md +sed -i "s/^version = '$FROM'$/version = '$TO'/" node/Cargo.toml +sed -i "s/^version = '$FROM'$/version = '$TO'/" node/cli/Cargo.toml +sed -i "s/^version = '$FROM'$/version = '$TO'/" node/cli-opt/Cargo.toml +sed -i "s/^version = '$FROM'$/version = '$TO'/" node/service/Cargo.toml + +sed -i "s/^version = '$FROM'$/version = '$TO'/" runtime/moonbase/Cargo.toml +sed -i "s/^version = '$FROM'$/version = '$TO'/" runtime/moonshadow/Cargo.toml +sed -i "s/^version = '$FROM'$/version = '$TO'/" runtime/moonriver/Cargo.toml +sed -i "s/^version = '$FROM'$/version = '$TO'/" runtime/moonbeam/Cargo.toml + +cargo build --release \ No newline at end of file