cleanartifacts: Whoopsie

This commit is contained in:
ave 2020-07-31 23:21:25 +03:00
parent c0f31381e4
commit 6b0907b1f4
Signed by untrusted user: a
GPG key ID: 398DD7BD03276F6D

View file

@ -21,5 +21,5 @@ for branch in verdata:
if len(vers) <= CLEAN_ARTIFACT_KEEP_COUNT: if len(vers) <= CLEAN_ARTIFACT_KEEP_COUNT:
continue continue
for ver in vers[0:-1 * CLEAN_ARTIFACT_KEEP_COUNT]: for ver in vers[0:-1 * CLEAN_ARTIFACT_KEEP_COUNT]:
file = os.path.join(RESULT_FOLDER, f"cutthecord-{branch}-{ver}.apk") file = os.path.join(RESULT_FOLDER, f"cutthecord-{ver}-{branch}.apk")
os.unlink(file) os.unlink(file)