mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-06-13 10:42:12 +00:00
remove old apks
This commit is contained in:
parent
3981341cd3
commit
cef58119c5
1 changed files with 5 additions and 0 deletions
|
|
@ -122,6 +122,11 @@ platform :android do
|
||||||
UI.message("Starting F-Droid deployment...")
|
UI.message("Starting F-Droid deployment...")
|
||||||
FileUtils.mkdir_p(fdroid_repo_dir)
|
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|
|
apks.each do |apk_path|
|
||||||
basename = File.basename(apk_path)
|
basename = File.basename(apk_path)
|
||||||
new_name = "eu.twonly_v#{version}-#{basename}"
|
new_name = "eu.twonly_v#{version}-#{basename}"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue