feat/prepare-android-pipeline-for-rc #24

Merged
malo merged 11 commits from feat/prepare-android-pipeline-for-rc into main 2023-08-08 15:59:34 +00:00
2 changed files with 8 additions and 3 deletions
Showing only changes of commit 4021345e0a - Show all commits

View File

@ -50,9 +50,7 @@ module Fastlane
# Delete artifacts files
artifacts = ['android_keys.zip', 'key.jks', 'key.properties', 'service_account_key.json']
artifacts.each do |file|
File.delete(file) if File.exist?(file)
end
Helper::AndroidCdHelper.delete_artifacts(artifacts)
UI.success('🍺 Successfully build & deploy appbundle to Google Play Store')
end

View File

@ -26,6 +26,13 @@ module Fastlane
str_variable = variable.strip if variable.class.to_s == "String"
variable && !(str_variable.nil? || str_variable.empty?)
end
# Delete built files
def self.delete_artifacts(artifacts)
artifacts.each do |file|
File.delete(file) if File.exist?(file)
end
end
end
end
end