From 6b0907b1f4d5144809b59766a52b2c37e5eb896e Mon Sep 17 00:00:00 2001 From: Ave Date: Fri, 31 Jul 2020 23:21:25 +0300 Subject: [PATCH] cleanartifacts: Whoopsie --- ctcci/cleanartifacts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctcci/cleanartifacts.py b/ctcci/cleanartifacts.py index 173859e..90d3476 100644 --- a/ctcci/cleanartifacts.py +++ b/ctcci/cleanartifacts.py @@ -21,5 +21,5 @@ for branch in verdata: if len(vers) <= CLEAN_ARTIFACT_KEEP_COUNT: continue 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)