From cef58119c5b17b39f3d352880705d131ed123b71 Mon Sep 17 00:00:00 2001 From: otsmr Date: Wed, 10 Jun 2026 22:41:24 +0200 Subject: [PATCH] remove old apks --- fastlane/Fastfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 1d5cf5b7..eaa30a1c 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -122,6 +122,11 @@ platform :android do UI.message("Starting F-Droid deployment...") FileUtils.mkdir_p(fdroid_repo_dir) + # Delete all APK files in the directory + sh("rm -f #{fdroid_repo_dir}/*.apk") + + UI.message("All APK files deleted.") + apks.each do |apk_path| basename = File.basename(apk_path) new_name = "eu.twonly_v#{version}-#{basename}"