From 821cee168a9d0b3be3ab255fb641bc48ba6dbcdf Mon Sep 17 00:00:00 2001 From: Niels Buwen Date: Fri, 18 Aug 2023 16:43:49 +0200 Subject: [PATCH] Fetch before checkout --- update_version.py | 1 + 1 file changed, 1 insertion(+) diff --git a/update_version.py b/update_version.py index 1ba0ca0..13f47de 100644 --- a/update_version.py +++ b/update_version.py @@ -17,6 +17,7 @@ def check_up_to_date(ref: str) -> None: def checkout_master() -> None: + check_call(['git', 'fetch']) check_call(['git', 'checkout', 'master'])