Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sudo-shashank committed Jul 26, 2023
1 parent 707e512 commit 256cde7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/migration_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ function sync_with_tag() {
unzip "forest-${tag}-linux-amd64.zip"
cd "forest-${tag}"

forest --chain calibnet --encrypt-keystore false --auto-download-snapshot --detach
forest-cli --chain calibnet sync wait
./forest --chain calibnet --encrypt-keystore false --auto-download-snapshot --detach
./forest-cli --chain calibnet sync wait
# Check if the sync succeeded for the tag
if forest-cli --chain calibnet sync wait; then
if ./forest-cli --chain calibnet sync wait; then
echo "Sync successful for tag: $tag"
pkill -9 forest
# clean up
Expand Down

0 comments on commit 256cde7

Please sign in to comment.