From 6075ec67951d0fa6cae6db5b37cad3291766dfc4 Mon Sep 17 00:00:00 2001 From: Junfeng Li Date: Sat, 18 Apr 2020 13:31:42 -0700 Subject: [PATCH] Adjust pulling tags in CI --- ci/cleanup-binary-tags.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/cleanup-binary-tags.py b/ci/cleanup-binary-tags.py index ac048821..0b940e9e 100755 --- a/ci/cleanup-binary-tags.py +++ b/ci/cleanup-binary-tags.py @@ -9,7 +9,7 @@ def tag_to_version(tag): return tag.split('-')[1].lstrip('v') -subprocess.check_call('git pull --tags', shell=True) +subprocess.check_call('git fetch --tags', shell=True) tags = subprocess.check_output( 'git tag --list | grep binary', shell=True).decode('UTF-8').splitlines() versions = sorted(list(set([tag_to_version(tag) for tag in tags])),