From b39d12595bee9eef0745a7e6610714f2a6bd40e9 Mon Sep 17 00:00:00 2001 From: Keith Date: Wed, 7 Aug 2024 03:00:46 +0900 Subject: [PATCH] Create publish script to publish crates in the correct order --- publish.sh | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 publish.sh diff --git a/publish.sh b/publish.sh new file mode 100644 index 000000000..0e8b75520 --- /dev/null +++ b/publish.sh @@ -0,0 +1,30 @@ +#!/bin/bash +set -ex +cargo doc --all-features +cargo test --all-features --workspace +cd support/macros +cargo publish +cd ../.. +cd pallets/commitments +cargo publish +cd .. +cd collective +cargo publish +cd .. +cd registry +cargo publish +cd .. +cd subtensor +cargo publish +cd runtime-api +cargo publish +cd ../.. +cd admin-utils +cargo publish +cd ../.. +cd runtime +cargo publish +cd .. +cd node +cargo publish +echo "published successfully."