fastlane 2.142.0 → 2.146.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +80 -80
- data/credentials_manager/lib/credentials_manager/appfile_config.rb +4 -0
- data/deliver/lib/deliver/app_screenshot.rb +1 -0
- data/deliver/lib/deliver/options.rb +30 -1
- data/deliver/lib/deliver/setup.rb +4 -4
- data/fastlane/lib/fastlane/actions/automatic_code_signing.rb +7 -1
- data/fastlane/lib/fastlane/actions/clean_build_artifacts.rb +3 -0
- data/fastlane/lib/fastlane/actions/crashlytics.rb +14 -2
- data/fastlane/lib/fastlane/actions/create_pull_request.rb +7 -1
- data/fastlane/lib/fastlane/actions/docs/capture_ios_screenshots.md +10 -4
- data/fastlane/lib/fastlane/actions/docs/frame_screenshots.md +22 -6
- data/fastlane/lib/fastlane/actions/docs/sync_code_signing.md +23 -7
- data/fastlane/lib/fastlane/actions/frame_screenshots.rb +2 -1
- data/fastlane/lib/fastlane/actions/get_version_number.rb +1 -1
- data/fastlane/lib/fastlane/actions/pod_lib_lint.rb +7 -1
- data/fastlane/lib/fastlane/actions/s3.rb +3 -289
- data/fastlane/lib/fastlane/actions/setup_ci.rb +1 -1
- data/fastlane/lib/fastlane/actions/setup_jenkins.rb +11 -2
- data/fastlane/lib/fastlane/actions/slather.rb +1 -1
- data/fastlane/lib/fastlane/actions/swiftlint.rb +28 -7
- data/fastlane/lib/fastlane/actions/update_code_signing_settings.rb +203 -0
- data/fastlane/lib/fastlane/actions/upload_symbols_to_crashlytics.rb +1 -1
- data/fastlane/lib/fastlane/actions/verify_build.rb +1 -1
- data/fastlane/lib/fastlane/helper/s3_client_helper.rb +61 -0
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/fastlane/swift/Deliverfile.swift +1 -1
- data/fastlane/swift/Fastlane.swift +147 -8
- data/fastlane/swift/Gymfile.swift +1 -1
- data/fastlane/swift/Matchfile.swift +1 -1
- data/fastlane/swift/MatchfileProtocol.swift +17 -1
- data/fastlane/swift/Precheckfile.swift +1 -1
- data/fastlane/swift/Scanfile.swift +1 -1
- data/fastlane/swift/ScanfileProtocol.swift +5 -1
- data/fastlane/swift/Screengrabfile.swift +1 -1
- data/fastlane/swift/Snapshotfile.swift +1 -1
- data/fastlane_core/lib/fastlane_core/configuration/config_item.rb +9 -0
- data/fastlane_core/lib/fastlane_core/device_manager.rb +3 -3
- data/fastlane_core/lib/fastlane_core/ipa_file_analyser.rb +1 -0
- data/fastlane_core/lib/fastlane_core/provisioning_profile.rb +15 -2
- data/frameit/lib/frameit/commands_generator.rb +25 -0
- data/frameit/lib/frameit/config_parser.rb +31 -9
- data/frameit/lib/frameit/device.rb +90 -0
- data/frameit/lib/frameit/device_types.rb +121 -5
- data/frameit/lib/frameit/editor.rb +29 -41
- data/frameit/lib/frameit/offsets.rb +8 -1
- data/frameit/lib/frameit/options.rb +81 -54
- data/frameit/lib/frameit/runner.rb +17 -7
- data/frameit/lib/frameit/screenshot.rb +39 -47
- data/frameit/lib/frameit/template_finder.rb +15 -12
- data/gym/lib/gym/generators/package_command_generator.rb +4 -0
- data/gym/lib/gym/generators/package_command_generator_xcode7.rb +5 -0
- data/gym/lib/gym/runner.rb +14 -0
- data/match/lib/match/change_password.rb +1 -1
- data/match/lib/match/encryption.rb +4 -0
- data/match/lib/match/importer.rb +37 -20
- data/match/lib/match/module.rb +1 -1
- data/match/lib/match/nuke.rb +5 -1
- data/match/lib/match/options.rb +18 -0
- data/match/lib/match/runner.rb +4 -0
- data/match/lib/match/setup.rb +1 -1
- data/match/lib/match/storage.rb +4 -0
- data/match/lib/match/storage/s3_storage.rb +167 -0
- data/pilot/lib/pilot/build_manager.rb +15 -4
- data/pilot/lib/pilot/options.rb +8 -0
- data/produce/lib/produce/developer_center.rb +11 -2
- data/produce/lib/produce/itunes_connect.rb +11 -3
- data/produce/lib/produce/options.rb +12 -0
- data/scan/lib/scan/options.rb +5 -0
- data/scan/lib/scan/test_command_generator.rb +5 -1
- data/screengrab/lib/screengrab/runner.rb +12 -4
- data/snapshot/lib/snapshot/reports_generator.rb +4 -0
- data/spaceship/lib/spaceship/connect_api/models/app.rb +11 -0
- data/spaceship/lib/spaceship/connect_api/models/build.rb +1 -2
- data/spaceship/lib/spaceship/connect_api/models/certificate.rb +2 -0
- data/spaceship/lib/spaceship/connect_api/testflight/testflight.rb +23 -0
- data/spaceship/lib/spaceship/portal/app_service.rb +2 -2
- data/spaceship/lib/spaceship/portal/portal_client.rb +13 -0
- data/spaceship/lib/spaceship/tunes/app_version.rb +6 -1
- data/spaceship/lib/spaceship/tunes/application.rb +2 -1
- data/spaceship/lib/spaceship/tunes/tunes_client.rb +2 -2
- data/spaceship/lib/spaceship/two_step_or_factor_client.rb +52 -16
- data/supply/lib/supply/client.rb +4 -4
- data/supply/lib/supply/setup.rb +5 -3
- metadata +34 -17
- data/gym/lib/gym/.code_signing_mapping.rb.swp +0 -0
data/supply/lib/supply/client.rb
CHANGED
@@ -244,7 +244,7 @@ module Supply
|
|
244
244
|
UI.message("Found '#{version}' in '#{filtered_track.track}' track.")
|
245
245
|
end
|
246
246
|
|
247
|
-
filtered_release = filtered_track.releases.first { |r| r.name == version }
|
247
|
+
filtered_release = filtered_track.releases.first { |r| !r.name.nil? && r.name == version }
|
248
248
|
|
249
249
|
# Since we can release on Alpha/Beta without release notes.
|
250
250
|
if filtered_release.release_notes.nil?
|
@@ -258,13 +258,13 @@ module Supply
|
|
258
258
|
end
|
259
259
|
|
260
260
|
def latest_version(track)
|
261
|
-
latest_version = tracks.select { |t| t.track == Supply::Tracks::DEFAULT }.map(&:releases).flatten.max_by(&:name)
|
261
|
+
latest_version = tracks.select { |t| t.track == Supply::Tracks::DEFAULT }.map(&:releases).flatten.reject { |r| r.name.nil? }.max_by(&:name)
|
262
262
|
|
263
263
|
# Check if user specified '--track' option if version information from 'production' track is nil
|
264
264
|
if latest_version.nil? && track == Supply::Tracks::DEFAULT
|
265
265
|
UI.user_error!(%(Unable to find latest version information from "#{Supply::Tracks::DEFAULT}" track. Please specify track information by using the '--track' option.))
|
266
266
|
else
|
267
|
-
latest_version = tracks.select { |t| t.track == track }.map(&:releases).flatten.max_by(&:name)
|
267
|
+
latest_version = tracks.select { |t| t.track == track }.map(&:releases).flatten.reject { |r| r.name.nil? }.max_by(&:name)
|
268
268
|
end
|
269
269
|
|
270
270
|
return latest_version
|
@@ -405,7 +405,7 @@ module Supply
|
|
405
405
|
)
|
406
406
|
return result.releases.flat_map(&:version_codes) || []
|
407
407
|
rescue Google::Apis::ClientError => e
|
408
|
-
return [] if e.status_code == 404 && e.to_s.include?("trackEmpty")
|
408
|
+
return [] if e.status_code == 404 && (e.to_s.include?("trackEmpty") || e.to_s.include?("Track not found"))
|
409
409
|
raise
|
410
410
|
end
|
411
411
|
end
|
data/supply/lib/supply/setup.rb
CHANGED
@@ -98,9 +98,11 @@ module Supply
|
|
98
98
|
FileUtils.mkdir_p(containing)
|
99
99
|
end
|
100
100
|
|
101
|
-
|
102
|
-
|
103
|
-
|
101
|
+
release_listing.versioncodes.each do |versioncode|
|
102
|
+
path = File.join(containing, "#{versioncode}.txt")
|
103
|
+
UI.message("Writing to #{path}...")
|
104
|
+
File.write(path, release_listing.release_notes)
|
105
|
+
end
|
104
106
|
end
|
105
107
|
|
106
108
|
private
|
metadata
CHANGED
@@ -1,35 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.146.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
8
|
-
- Josh Holtz
|
7
|
+
- Jérôme Lacoste
|
9
8
|
- Iulian Onofrei
|
10
9
|
- Luka Mirosevic
|
11
|
-
- Danielle Tomlinson
|
12
|
-
- Joshua Liebowitz
|
13
|
-
- Jérôme Lacoste
|
14
|
-
- Fumiya Nakamura
|
15
|
-
- Aaron Brager
|
16
|
-
- Felix Krause
|
17
|
-
- Olivier Halligon
|
18
10
|
- Matthew Ellis
|
19
|
-
-
|
11
|
+
- Helmut Januschka
|
12
|
+
- Manu Wallner
|
13
|
+
- Olivier Halligon
|
14
|
+
- Aaron Brager
|
15
|
+
- Jan Piotrowski
|
16
|
+
- Kohki Miki
|
20
17
|
- Maksym Grebenets
|
18
|
+
- Felix Krause
|
19
|
+
- Josh Holtz
|
21
20
|
- Max Ott
|
22
|
-
-
|
21
|
+
- Danielle Tomlinson
|
22
|
+
- Daniel Jankowski
|
23
23
|
- Jimmy Dee
|
24
|
-
-
|
25
|
-
- Helmut Januschka
|
24
|
+
- Fumiya Nakamura
|
26
25
|
- Andrew McBurney
|
27
|
-
-
|
26
|
+
- Stefan Natchev
|
27
|
+
- Joshua Liebowitz
|
28
28
|
- Jorge Revuelta H
|
29
29
|
autorequire:
|
30
30
|
bindir: bin
|
31
31
|
cert_chain: []
|
32
|
-
date: 2020-
|
32
|
+
date: 2020-04-22 00:00:00.000000000 Z
|
33
33
|
dependencies:
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: slack-notifier
|
@@ -667,6 +667,20 @@ dependencies:
|
|
667
667
|
- - "<"
|
668
668
|
- !ruby/object:Gem::Version
|
669
669
|
version: '2.0'
|
670
|
+
- !ruby/object:Gem::Dependency
|
671
|
+
name: aws-sdk-s3
|
672
|
+
requirement: !ruby/object:Gem::Requirement
|
673
|
+
requirements:
|
674
|
+
- - "~>"
|
675
|
+
- !ruby/object:Gem::Version
|
676
|
+
version: '1.0'
|
677
|
+
type: :runtime
|
678
|
+
prerelease: false
|
679
|
+
version_requirements: !ruby/object:Gem::Requirement
|
680
|
+
requirements:
|
681
|
+
- - "~>"
|
682
|
+
- !ruby/object:Gem::Version
|
683
|
+
version: '1.0'
|
670
684
|
- !ruby/object:Gem::Dependency
|
671
685
|
name: rake
|
672
686
|
requirement: !ruby/object:Gem::Requirement
|
@@ -1210,6 +1224,7 @@ files:
|
|
1210
1224
|
- fastlane/lib/fastlane/actions/unlock_keychain.rb
|
1211
1225
|
- fastlane/lib/fastlane/actions/update_app_group_identifiers.rb
|
1212
1226
|
- fastlane/lib/fastlane/actions/update_app_identifier.rb
|
1227
|
+
- fastlane/lib/fastlane/actions/update_code_signing_settings.rb
|
1213
1228
|
- fastlane/lib/fastlane/actions/update_fastlane.rb
|
1214
1229
|
- fastlane/lib/fastlane/actions/update_icloud_container_identifiers.rb
|
1215
1230
|
- fastlane/lib/fastlane/actions/update_info_plist.rb
|
@@ -1263,6 +1278,7 @@ files:
|
|
1263
1278
|
- fastlane/lib/fastlane/helper/git_helper.rb
|
1264
1279
|
- fastlane/lib/fastlane/helper/gradle_helper.rb
|
1265
1280
|
- fastlane/lib/fastlane/helper/podspec_helper.rb
|
1281
|
+
- fastlane/lib/fastlane/helper/s3_client_helper.rb
|
1266
1282
|
- fastlane/lib/fastlane/helper/sh_helper.rb
|
1267
1283
|
- fastlane/lib/fastlane/helper/xcodeproj_helper.rb
|
1268
1284
|
- fastlane/lib/fastlane/helper/xcversion_helper.rb
|
@@ -1422,6 +1438,7 @@ files:
|
|
1422
1438
|
- frameit/lib/frameit/commands_generator.rb
|
1423
1439
|
- frameit/lib/frameit/config_parser.rb
|
1424
1440
|
- frameit/lib/frameit/dependency_checker.rb
|
1441
|
+
- frameit/lib/frameit/device.rb
|
1425
1442
|
- frameit/lib/frameit/device_types.rb
|
1426
1443
|
- frameit/lib/frameit/editor.rb
|
1427
1444
|
- frameit/lib/frameit/frame_downloader.rb
|
@@ -1439,7 +1456,6 @@ files:
|
|
1439
1456
|
- gym/lib/assets/GymfileTemplate.swift
|
1440
1457
|
- gym/lib/assets/wrap_xcodebuild/xcbuild-safe.sh
|
1441
1458
|
- gym/lib/gym.rb
|
1442
|
-
- gym/lib/gym/.code_signing_mapping.rb.swp
|
1443
1459
|
- gym/lib/gym/code_signing_mapping.rb
|
1444
1460
|
- gym/lib/gym/commands_generator.rb
|
1445
1461
|
- gym/lib/gym/detect_values.rb
|
@@ -1478,6 +1494,7 @@ files:
|
|
1478
1494
|
- match/lib/match/storage/git_storage.rb
|
1479
1495
|
- match/lib/match/storage/google_cloud_storage.rb
|
1480
1496
|
- match/lib/match/storage/interface.rb
|
1497
|
+
- match/lib/match/storage/s3_storage.rb
|
1481
1498
|
- match/lib/match/table_printer.rb
|
1482
1499
|
- match/lib/match/utils.rb
|
1483
1500
|
- pem/README.md
|
Binary file
|