aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/rhodecode-setup2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/rhodecode-setup b/scripts/rhodecode-setup
index a53befa..2f6add8 100755
--- a/scripts/rhodecode-setup
+++ b/scripts/rhodecode-setup
@@ -526,6 +526,8 @@ def update_rhodecode(tag, work_dir):
:param source_co: The destination directory where the code is cloned.
:type str
"""
+ cmd_args = ["git", "fetch"]
+ execute_command(cmd_args, work_dir=work_dir)
cmd_args = ["git", "pull", "origin", tag]
execute_command(cmd_args, work_dir=work_dir)
cmd_args = ["git", "checkout", tag]