Skip to content

Commit

Permalink
Adjust pulling tags in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
autozimu committed Apr 18, 2020
1 parent 61118ea commit 6075ec6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/cleanup-binary-tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])),
Expand Down

0 comments on commit 6075ec6

Please sign in to comment.