fastlane/lib/fastlane/actions/backup_xcarchive.rb in fastlane_hotfix-2.165.1 vs fastlane/lib/fastlane/actions/backup_xcarchive.rb in fastlane_hotfix-2.187.0

- old
+ new

@@ -38,11 +38,11 @@ else File.join(dir, "#{xcarchive_file}.zip") end # Create zip - Actions.sh(%(cd "#{xcarchive_folder}" && zip -r -X "#{zip_file}" "#{xcarchive_file}" > /dev/null)) + Actions.sh(%(cd "#{xcarchive_folder}" && zip -r -X -y "#{zip_file}" "#{xcarchive_file}" > /dev/null)) # Moved to its final destination FileUtils.mv(zip_file, full_destination) Actions.lane_context[SharedValues::BACKUP_XCARCHIVE_FILE] = "#{full_destination}/#{File.basename(zip_file)}" @@ -81,21 +81,21 @@ verify_block: proc do |value| UI.user_error!("Couldn't find the destination folder at '#{value}'") if !Helper.test? && !File.directory?(value) && !File.exist?(value) end), FastlaneCore::ConfigItem.new(key: :zip, description: 'Enable compression of the archive', - is_string: false, + type: Boolean, default_value: true, optional: true, env_name: 'BACKUP_XCARCHIVE_ZIP'), FastlaneCore::ConfigItem.new(key: :zip_filename, description: 'Filename of the compressed archive. Will be appended by `.xcarchive.zip`. Default value is the output xcarchive filename', default_value_dynamic: true, optional: true, env_name: 'BACKUP_XCARCHIVE_ZIP_FILENAME'), FastlaneCore::ConfigItem.new(key: :versioned, description: 'Create a versioned (date and app version) subfolder where to put the archive', - is_string: false, + type: Boolean, default_value: true, optional: true, env_name: 'BACKUP_XCARCHIVE_VERSIONED') ] end