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."