diff --git a/scripts/bump-version.sh b/scripts/bump-version.sh index beced369b..6332fcda9 100755 --- a/scripts/bump-version.sh +++ b/scripts/bump-version.sh @@ -20,7 +20,10 @@ sed -i '' -e '3s/^version = "'${current_version}'"/version = "'${new_version}'"/ sed -i '' -e '3s/^version = "'${current_version}'"/version = "'${new_version}'"/g' programs/scheduler/Cargo.toml # Bump cronos-sdk -sed -i '' -e 's/^cronos-program =.*/cronos-program = { path = "..\/programs\/cronos", features = ["no-entrypoint"], version = "'${new_version}'" }/g' sdk/Cargo.toml +sed -i '' -e 's/^cronos-health =.*/cronos-health = { path = "..\/programs\/health", features = ["no-entrypoint"], version = "'${new_version}'" }/g' sdk/Cargo.toml +sed -i '' -e 's/^cronos-network =.*/cronos-network = { path = "..\/programs\/network", features = ["no-entrypoint"], version = "'${new_version}'" }/g' sdk/Cargo.toml +sed -i '' -e 's/^cronos-pool =.*/cronos-pool = { path = "..\/programs\/pool", features = ["no-entrypoint"], version = "'${new_version}'" }/g' sdk/Cargo.toml +sed -i '' -e 's/^cronos-scheduler =.*/cronos-scheduler = { path = "..\/programs\/scheduler", features = ["no-entrypoint"], version = "'${new_version}'" }/g' sdk/Cargo.toml sed -i '' -e '3s/^version = "'${current_version}'"/version = "'${new_version}'"/g' sdk/Cargo.toml # Bump cronos-cli @@ -47,7 +50,6 @@ sleep 25 # Git commit echo "$(git diff --stat | tail -n1)" -git checkout -b release/${new_version} git add . git commit -m "Bump from $current_version to $new_version" git tag "v$new_version" diff --git a/scripts/cargo-publish.sh b/scripts/cargo-publish.sh index e2deb0901..4723fcbe9 100755 --- a/scripts/cargo-publish.sh +++ b/scripts/cargo-publish.sh @@ -10,6 +10,6 @@ sleep 25 cargo publish -p cronos-sdk sleep 25 cargo publish -p cronos-cli +cargo publish -p cronos-metrics cargo publish -p cronos-plugin cargo publish -p cronos-stress -cargo publish -p cronos-telemetry