From 371e1a7619c506926d1f23b19a5caa7dfebc9e19 Mon Sep 17 00:00:00 2001 From: yungwine Date: Tue, 6 Aug 2024 23:46:28 +0800 Subject: [PATCH] change branch names --- mytonctrl/migrations/roll_back_001.sh | 2 +- mytonctrl/mytonctrl.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mytonctrl/migrations/roll_back_001.sh b/mytonctrl/migrations/roll_back_001.sh index ca35c8e7..eab2869c 100644 --- a/mytonctrl/migrations/roll_back_001.sh +++ b/mytonctrl/migrations/roll_back_001.sh @@ -2,7 +2,7 @@ pip3 uninstall -y mytonctrl cd /usr/src rm -rf mytonctrl -git clone --recursive https://github.com/ton-blockchain/mytonctrl +git clone --recursive -b mytonctrl1 https://github.com/ton-blockchain/mytonctrl echo "Updating /usr/bin/mytonctrl" echo "/usr/bin/python3 /usr/src/mytonctrl/mytonctrl.py $@" > /usr/bin/mytonctrl diff --git a/mytonctrl/mytonctrl.py b/mytonctrl/mytonctrl.py index ba60f84b..33224717 100755 --- a/mytonctrl/mytonctrl.py +++ b/mytonctrl/mytonctrl.py @@ -344,7 +344,7 @@ def check_branch_exists(author, repo, branch): def Update(local, args): repo = "mytonctrl" - author, repo, branch = check_git(args, repo, "update", default_branch='mytonctrl2') + author, repo, branch = check_git(args, repo, "update") # Run script update_script_path = pkg_resources.resource_filename('mytonctrl', 'scripts/update.sh')