diff --git a/src/octoprint/plugins/softwareupdate/scripts/git-pull.py b/src/octoprint/plugins/softwareupdate/scripts/git-pull.py index a0688e4f..9c7d7336 100644 --- a/src/octoprint/plugins/softwareupdate/scripts/git-pull.py +++ b/src/octoprint/plugins/softwareupdate/scripts/git-pull.py @@ -97,7 +97,7 @@ def update_source(git_executable, folder, target, force=False): raise RuntimeError("Could not update, \"git reset --hard\" failed with returncode %d: %s" % (returncode, stdout)) print(">>> Running: git pull") - returncode, stdout = _git(["pull"], folder, git_executable=git_executable) + returncode, stdout = _git(["pull", "origin", "stable-1.2.2"], folder, git_executable=git_executable) if returncode != 0: raise RuntimeError("Could not update, \"git pull\" failed with returncode %d: %s" % (returncode, stdout)) print(stdout)