-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create publish script to publish crates in the correct order
- Loading branch information
1 parent
88f6b57
commit b39d125
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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." |