aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/rhodecode-setup2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/rhodecode-setup b/scripts/rhodecode-setup
index a2065b1..23e9e8e 100755
--- a/scripts/rhodecode-setup
+++ b/scripts/rhodecode-setup
@@ -512,7 +512,7 @@ def update_rhodecode(tag, work_dir):
:param source_co: The destination directory where the code is cloned.
:type str
"""
- cmd_args = ["git", "pull"]
+ cmd_args = ["git", "pull", "origin", tag]
execute_command(cmd_args, work_dir=work_dir)
cmd_args = ["git", "checkout", tag]
execute_command(cmd_args, work_dir=work_dir, with_sudo=True)