supply/lib/supply/.uploader.rb.swp in fastlane-2.135.2 vs supply/lib/supply/.uploader.rb.swp in fastlane-2.136.0
- old
+ new
@@ -1,38 +1,41 @@
-b0VIM 8.1 ], josh Joshs-Mac-mini.local ~josh/Projects/fastlane/fastlane/supply/lib/supply/uploader.rb utf-8
3210 #"! U tp R 8 S a j @ l ad h R .
<
;
n m " M '
-
-
- a
-
+b0VIM 8.1 ]| josh Joshs-Mac-mini.local ~josh/Projects/fastlane/fastlane/supply/lib/supply/uploader.rb utf-8
3210 #"! U tp P P Q _ j V j ad x P .
<
;
n m C - C
+
+ {
+ W
-
- k j [ . k k @ h g f v u N M ) h tracks = client.tracks(track) def fetch_track_and_release!(track, version_code, status = nil) end end UI.success("Successfully finished the upload to Google Play") client.commit_current_edit! UI.message("Uploading all meta changes to Google Play...") else UI.success("Successfully validated the upload to Google Play") client.validate_current_edit! UI.message("Validating all meta changes with Google Play...") if Supply.config[:validate_only] end end upload_changelogs(release_notes, release, track) unless release_notes.empty? end release_notes << upload_changelog(language, release.name) unless Supply.config[:skip_upload_changelogs] upload_screenshots(language) unless Supply.config[:skip_upload_screenshots] upload_images(language) unless Supply.config[:skip_upload_images] upload_metadata(language, listing) unless Supply.config[:skip_upload_metadata] listing = client.listing_for_language(language) UI.message("Preparing to upload for language '#{language}'...") next if language.start_with?('.') # e.g. . or .. or hidden folders all_languages.each do |language| release_notes = [] UI.user_error!("Could not find release for version code '#{version_code}' to update changelog") unless release UI.user_error!("Unable to find the requested track - '#{Supply.config[:track]}'") unless track track, release = fetch_track_and_release!(Supply.config[:track], version_code) UI.user_error!("Could not find folder #{metadata_path}") unless File.directory?(metadata_path) version_codes.each do |version_code| version_codes = [Supply.config[:version_code]] if version_codes.empty? if (!Supply.config[:skip_upload_metadata] || !Supply.config[:skip_upload_images] || !Supply.config[:skip_upload_changelogs] || !Supply.config[:skip_upload_screenshots]) && metadata_path client.begin_edit(package_name: Supply.config[:package_name]) def perform_upload_meta(version_codes) end perform_upload_meta(apk_version_codes) end UI.success("Successfully finished the upload to Google Play") client.commit_current_edit! UI.message("Uploading all track and release changes to Google Play...") else UI.success("Successfully validated the upload to Google Play") client.validate_current_edit! UI.message("Validating all track and release changes with Google Play...") if Supply.config[:validate_only] promote_track if Supply.config[:track_promote_to] end update_rollout if !Supply.config[:rollout].nil? && Supply.config[:track].to_s != ""