diff --git a/abci/Cargo.toml b/abci/Cargo.toml index 8c235ee..ce90065 100644 --- a/abci/Cargo.toml +++ b/abci/Cargo.toml @@ -1,5 +1,5 @@ [package] -version = "0.14.0-dev.6" +version = "0.14.0-dev.7" name = "tenderdash-abci" edition = "2021" license = "Apache-2.0" diff --git a/proto-compiler/Cargo.toml b/proto-compiler/Cargo.toml index efc4ab9..2033d63 100644 --- a/proto-compiler/Cargo.toml +++ b/proto-compiler/Cargo.toml @@ -1,5 +1,5 @@ [package] -version = "0.14.0-dev.6" +version = "0.14.0-dev.7" name = "tenderdash-proto-compiler" authors = ["Informal Systems ", "Dash Core Group"] edition = "2021" diff --git a/proto/Cargo.toml b/proto/Cargo.toml index edc7a12..0008338 100644 --- a/proto/Cargo.toml +++ b/proto/Cargo.toml @@ -1,5 +1,5 @@ [package] -version = "0.14.0-dev.6" +version = "0.14.0-dev.7" name = "tenderdash-proto" edition = "2021" license = "Apache-2.0" diff --git a/proto/build.rs b/proto/build.rs index 80894aa..a3e2fa4 100644 --- a/proto/build.rs +++ b/proto/build.rs @@ -1,7 +1,8 @@ use std::env; fn main() { - const DEFAULT_VERSION: &str = "v0.14.0-dev.2"; + // default Tenderdash version to use if TENDERDASH_COMMITISH is not set + const DEFAULT_VERSION: &str = "v0.14.0-dev.3"; // check if TENDERDASH_COMMITISH is already set; if not, set it to the current // version diff --git a/scripts/release.sh b/scripts/release.sh index fe5198e..0670b8d 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -1,6 +1,6 @@ #! /bin/bash -PLATFORM_DIR="$(realpath "$(dirname $0)/../../platform")" +PLATFORM_DIR="$(realpath "$(dirname "$0")/../../platform")" function help() { cat </dev/null if [ -d "$PLATFORM_DIR" ]; then rs_tenderdash="git = \"https:\/\/github.com\/dashpay\/rs-tenderdash-abci\", version = \"$rs_tenderdash_abci_version\" " echo "INFO: Updating references to tenderdash-abci / tenderdash-proto in $PLATFORM_DIR" - sed -i "s/^tenderdash-abci = { git = .* }/tenderdash-abci = { $rs_tenderdash }/" ${PLATFORM_DIR}/packages/*/Cargo.toml - sed -i "s/^tenderdash-proto = { git = .* }/tenderdash-proto = { $rs_tenderdash }/" ${PLATFORM_DIR}/packages/*/Cargo.toml + sed -i "s/^tenderdash-abci = { git = .* }/tenderdash-abci = { $rs_tenderdash }/" "${PLATFORM_DIR}"/packages/*/Cargo.toml + sed -i "s/^tenderdash-proto = { git = .* }/tenderdash-proto = { $rs_tenderdash }/" "${PLATFORM_DIR}"/packages/*/Cargo.toml else - echo WARN: Dash Platform not found in $PLATFORM_DIR, skipping + echo "WARN: Dash Platform not found in $PLATFORM_DIR, skipping" fi