Skip to content

Commit

Permalink
Merge pull request #845 from opentensor/publish-script-modify
Browse files Browse the repository at this point in the history
Modify publish script to accept all cargo publish parameters
  • Loading branch information
unconst authored Oct 11, 2024
2 parents 6406938 + e3d9b01 commit 1b177dd
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 --token $1
cargo publish $1
cd ../..
cd pallets/commitments
cargo publish --token $1
cargo publish $1
cd ..
cd collective
cargo publish --token $1
cargo publish $1
cd ..
cd registry
cargo publish --token $1
cargo publish $1
cd ..
cd subtensor
cargo publish --token $1
cargo publish $1
cd runtime-api
cargo publish --token $1
cargo publish $1
cd ../..
cd admin-utils
cargo publish --token $1
cargo publish $1
cd ../..
cd runtime
cargo publish --token $1
cargo publish $1
cd ..
cd node
cargo publish --token $1
cargo publish $1
echo "published successfully."

0 comments on commit 1b177dd

Please sign in to comment.