Skip to content

Commit

Permalink
Create publish script to publish crates in the correct order
Browse files Browse the repository at this point in the history
  • Loading branch information
keithtensor committed Aug 6, 2024
1 parent 88f6b57 commit b39d125
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions publish.sh
Original file line number Diff line number Diff line change
@@ -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."

0 comments on commit b39d125

Please sign in to comment.