Improve git tag to version conversion
There is also aarch64 arch.
@@ -7,9 +7,7 @@ import semver
def tag_to_version(tag):
- version = re.sub(r'binary-', '', tag)
- version = re.sub(r'-[x86|i686].*', '', version)
- return version
+ return tag.split('-')[1].lstrip('v')
subprocess.check_call('git pull --tags', shell=True)
