From 36549b4f60a8e40bece8764137a59543d44c002f Mon Sep 17 00:00:00 2001 From: jsjiang Date: Tue, 10 Oct 2023 11:36:03 -0700 Subject: [PATCH] update minter migraiton deployment script --- deploy_minter_migration.sh | 71 ++++++++++++++++++++++++++++---------- 1 file changed, 52 insertions(+), 19 deletions(-) mode change 100644 => 100755 deploy_minter_migration.sh diff --git a/deploy_minter_migration.sh b/deploy_minter_migration.sh old mode 100644 new mode 100755 index fe0aa203..448c99f2 --- a/deploy_minter_migration.sh +++ b/deploy_minter_migration.sh @@ -1,38 +1,71 @@ -# run shoulder-check-minters command to check minters before running deployment -python manager.py shoulder-check-minters +echo "Start minter migration steps ..." +echo "1. Check minters" -# fix minter issues if needed +read -p "Have you run the shoulder-check-minters command to check the minters? [yes/no]: " yn +if [[ "$yn" == "yes" ]]; then + read -p "Do you wish to continue to next step? [yes/no]: " next_step + if [[ "$next_step" != "yes" ]]; then + echo "Minter migration aborted." + exit + fi +elif [[ "$yn" == "no" ]]; then + cat <