Skip to content

Commit 03a85f1

Browse files
committed
Create publish script to publish crates in the correct order
1 parent 6ff7b3f commit 03a85f1

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

publish.sh

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
#!/bin/bash
2+
set -ex
3+
cargo doc --all-features
4+
cargo test --all-features --workspace
5+
cd support/macros
6+
cargo publish
7+
cd ../..
8+
cd pallets/commitments
9+
cargo publish
10+
cd ..
11+
cd collective
12+
cargo publish
13+
cd ..
14+
cd registry
15+
cargo publish
16+
cd ..
17+
cd subtensor
18+
cargo publish
19+
cd runtime-api
20+
cargo publish
21+
cd ../..
22+
cd admin-utils
23+
cargo publish
24+
cd ../..
25+
cd runtime
26+
cargo publish
27+
cd ..
28+
cd node
29+
cargo publish
30+
echo "published successfully."

0 commit comments

Comments
 (0)