We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 923b6ee commit cb03425Copy full SHA for cb03425
ci/cleanup-binary-tags.py
@@ -10,8 +10,10 @@ def tag_to_version(tag):
10
version = re.sub(r'-[x86|i686].*', '', version)
11
return version
12
13
+
14
subprocess.check_call('git pull --tags', shell=True)
-tags = subprocess.check_output('git tag --list | grep binary', shell=True).decode('UTF-8').splitlines()
15
+tags = subprocess.check_output(
16
+ 'git tag --list | grep binary', shell=True).decode('UTF-8').splitlines()
17
versions = sorted(list(set([tag_to_version(tag) for tag in tags])), key=semver.parse_version_info)
18
versions_to_delete = versions[:-3]
19
0 commit comments