Test again

This commit is contained in:
windowsboy111
2022-10-31 18:22:55 +08:00
parent a421c809f7
commit d7d4c04cbd
-1
View File
@@ -8,7 +8,6 @@ REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
ver = ver[1:] # starts with v
with open(SPEC, 'r') as f: