From 52d3c46a0e08dfadc38d5c65a42aeb41a9ef4951 Mon Sep 17 00:00:00 2001 From: Keith Date: Wed, 28 Aug 2024 21:23:15 -0400 Subject: [PATCH] Add token argument to the publish script --- scripts/publish.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/scripts/publish.sh b/scripts/publish.sh index 3eb0fc6a5..8b2671787 100644 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -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."