From 30b3036f560edb3a71aec8b6d350197e0c7f5aa0 Mon Sep 17 00:00:00 2001 From: Mateusz Urbanek Date: Mon, 3 Jun 2024 18:53:16 +0200 Subject: [PATCH] chore: more git commands? (WIP) Signed-off-by: Mateusz Urbanek --- hack/publish.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/hack/publish.py b/hack/publish.py index 9401829..b1aa6b5 100644 --- a/hack/publish.py +++ b/hack/publish.py @@ -76,6 +76,16 @@ def is_initial() -> bool: bool: True if the repository state is initial, False otherwise. """ logger.info("fetching gh-pages from origin") + subprocess.run( + ["git", "remote", "update"], + stdout=sys.stdout, + stderr=sys.stderr, + ) + subprocess.run( + ["git", "remote", "-v"], + stdout=sys.stdout, + stderr=sys.stderr, + ) subprocess.run( ["git", "fetch", "origin", "refs/heads/gh-pages"], stdout=sys.stdout,