Skip to content

Commit

Permalink
Add token argument to the publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
keithtensor committed Aug 29, 2024
1 parent 939f21c commit 52d3c46
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions scripts/publish.sh
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
#!/bin/bash
set -ex
cd support/macros
cargo publish
cargo publish --token $1
cd ../..
cd pallets/commitments
cargo publish
cargo publish --token $1
cd ..
cd collective
cargo publish
cargo publish --token $1
cd ..
cd registry
cargo publish
cargo publish --token $1
cd ..
cd subtensor
cargo publish
cargo publish --token $1
cd runtime-api
cargo publish
cargo publish --token $1
cd ../..
cd admin-utils
cargo publish
cargo publish --token $1
cd ../..
cd runtime
cargo publish
cargo publish --token $1
cd ..
cd node
cargo publish
cargo publish --token $1
echo "published successfully."

0 comments on commit 52d3c46

Please sign in to comment.