diff --git a/ctcci/cleanartifacts.py b/ctcci/cleanartifacts.py index 173859ee7..90d347647 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)