fastlane 2.195.0 → 2.198.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +80 -80
  3. data/cert/lib/cert/runner.rb +5 -2
  4. data/deliver/lib/assets/ScreenshotsHelp +29 -6
  5. data/deliver/lib/deliver/app_screenshot.rb +5 -4
  6. data/deliver/lib/deliver/runner.rb +1 -1
  7. data/deliver/lib/deliver/upload_screenshots.rb +1 -1
  8. data/fastlane/lib/fastlane/actions/app_store_build_number.rb +12 -6
  9. data/fastlane/lib/fastlane/actions/docs/upload_to_app_store.md.erb +1 -1
  10. data/fastlane/lib/fastlane/actions/download_dsyms.rb +47 -30
  11. data/fastlane/lib/fastlane/actions/get_push_certificate.rb +1 -1
  12. data/fastlane/lib/fastlane/actions/get_version_number.rb +6 -2
  13. data/fastlane/lib/fastlane/actions/latest_testflight_build_number.rb +2 -3
  14. data/fastlane/lib/fastlane/actions/notarize.rb +29 -11
  15. data/fastlane/lib/fastlane/actions/set_github_release.rb +11 -5
  16. data/fastlane/lib/fastlane/version.rb +1 -1
  17. data/fastlane/swift/Deliverfile.swift +1 -1
  18. data/fastlane/swift/DeliverfileProtocol.swift +1 -1
  19. data/fastlane/swift/Fastlane.swift +57 -17
  20. data/fastlane/swift/Gymfile.swift +1 -1
  21. data/fastlane/swift/GymfileProtocol.swift +5 -1
  22. data/fastlane/swift/LaneFileProtocol.swift +1 -1
  23. data/fastlane/swift/Matchfile.swift +1 -1
  24. data/fastlane/swift/MatchfileProtocol.swift +1 -1
  25. data/fastlane/swift/Precheckfile.swift +1 -1
  26. data/fastlane/swift/PrecheckfileProtocol.swift +1 -1
  27. data/fastlane/swift/Runner.swift +1 -1
  28. data/fastlane/swift/Scanfile.swift +1 -1
  29. data/fastlane/swift/ScanfileProtocol.swift +1 -1
  30. data/fastlane/swift/Screengrabfile.swift +1 -1
  31. data/fastlane/swift/ScreengrabfileProtocol.swift +3 -3
  32. data/fastlane/swift/Snapshotfile.swift +1 -1
  33. data/fastlane/swift/SnapshotfileProtocol.swift +1 -1
  34. data/fastlane/swift/formatting/Brewfile.lock.json +27 -22
  35. data/fastlane_core/lib/fastlane_core/itunes_transporter.rb +38 -7
  36. data/frameit/lib/frameit/editor.rb +16 -18
  37. data/frameit/lib/frameit/trim_box.rb +6 -0
  38. data/gym/lib/gym/generators/build_command_generator.rb +1 -1
  39. data/gym/lib/gym/options.rb +6 -0
  40. data/match/lib/match/nuke.rb +79 -1
  41. data/match/lib/match/spaceship_ensure.rb +1 -0
  42. data/pem/lib/pem/manager.rb +31 -7
  43. data/pem/lib/pem/options.rb +10 -1
  44. data/pilot/lib/pilot/build_manager.rb +1 -1
  45. data/scan/lib/scan/runner.rb +1 -1
  46. data/screengrab/lib/screengrab/options.rb +2 -2
  47. data/sigh/lib/assets/resign.sh +8 -5
  48. data/snapshot/lib/snapshot/reports_generator.rb +8 -0
  49. data/spaceship/lib/spaceship/connect_api/models/build.rb +4 -2
  50. data/spaceship/lib/spaceship/connect_api/models/build_bundle.rb +59 -0
  51. data/spaceship/lib/spaceship/connect_api/models/certificate.rb +3 -0
  52. data/spaceship/lib/spaceship/connect_api/testflight/.testflight.rb.swp +0 -0
  53. data/spaceship/lib/spaceship/connect_api/token.rb +1 -1
  54. data/spaceship/lib/spaceship/connect_api.rb +1 -0
  55. data/supply/lib/supply/client.rb +3 -3
  56. data/supply/lib/supply/uploader.rb +1 -1
  57. metadata +38 -32
@@ -19,6 +19,7 @@ module Spaceship
19
19
  attr_accessor :beta_build_metrics
20
20
  attr_accessor :beta_build_localizations
21
21
  attr_accessor :build_beta_detail
22
+ attr_accessor :build_bundles
22
23
  attr_accessor :pre_release_version
23
24
  attr_accessor :individual_testers
24
25
 
@@ -38,10 +39,11 @@ module Spaceship
38
39
  "betaBuildLocalizations" => "beta_build_localizations",
39
40
  "buildBetaDetail" => "build_beta_detail",
40
41
  "preReleaseVersion" => "pre_release_version",
41
- "individualTesters" => "individual_testers"
42
+ "individualTesters" => "individual_testers",
43
+ "buildBundles" => "build_bundles"
42
44
  })
43
45
 
44
- ESSENTIAL_INCLUDES = "app,buildBetaDetail,preReleaseVersion"
46
+ ESSENTIAL_INCLUDES = "app,buildBetaDetail,preReleaseVersion,buildBundles"
45
47
 
46
48
  module ProcessingState
47
49
  PROCESSING = "PROCESSING"
@@ -0,0 +1,59 @@
1
+ require_relative '../model'
2
+ module Spaceship
3
+ class ConnectAPI
4
+ class BuildBundle
5
+ include Spaceship::ConnectAPI::Model
6
+
7
+ attr_accessor :bundle_id
8
+ attr_accessor :bundle_type
9
+ attr_accessor :sdk_build
10
+ attr_accessor :platform_build
11
+ attr_accessor :file_name
12
+ attr_accessor :has_siri_kit
13
+ attr_accessor :has_on_demand_resources
14
+ attr_accessor :is_newsstand
15
+ attr_accessor :has_prerendered_icon
16
+ attr_accessor :uses_location_services
17
+ attr_accessor :is_ios_build_mac_app_store_compatible
18
+ attr_accessor :includes_symbols
19
+ attr_accessor :dsym_url
20
+ attr_accessor :supported_architectures
21
+ attr_accessor :required_capabilities
22
+ attr_accessor :device_protocols
23
+ attr_accessor :locales
24
+ attr_accessor :entitlements
25
+ attr_accessor :tracks_users
26
+
27
+ module BundleType
28
+ APP = "APP"
29
+ # APP_CLIP might be in here as well
30
+ end
31
+
32
+ attr_mapping({
33
+ "bundleId" => "bundle_id",
34
+ "bundleType" => "bundle_type",
35
+ "sdkBuild" => "sdk_build",
36
+ "platformBuild" => "platform_build",
37
+ "fileName" => "file_name",
38
+ "hasSirikit" => "has_siri_kit",
39
+ "hasOnDemandResources" => "has_on_demand_resources",
40
+ "isNewsstand" => "is_newsstand",
41
+ "hasPrerenderedIcon" => "has_prerendered_icon",
42
+ "usesLocationServices" => "uses_location_services",
43
+ "isIosBuildMacAppStoreCompatible" => "is_ios_build_mac_app_store_compatible",
44
+ "includesSymbols" => "includes_symbols",
45
+ "dSYMUrl" => "dsym_url",
46
+ "supportedArchitectures" => "supported_architectures",
47
+ "requiredCapabilities" => "required_capabilities",
48
+ "deviceProtocols" => "device_protocols",
49
+ "locales" => "locales",
50
+ "entitlements" => "entitlements",
51
+ "tracksUsers" => "tracks_users"
52
+ })
53
+
54
+ def self.type
55
+ return "buildBundles"
56
+ end
57
+ end
58
+ end
59
+ end
@@ -41,6 +41,9 @@ module Spaceship
41
41
  MAC_APP_DEVELOPMENT = "MAC_APP_DEVELOPMENT"
42
42
  DEVELOPER_ID_KEXT = "DEVELOPER_ID_KEXT"
43
43
  DEVELOPER_ID_APPLICATION = "DEVELOPER_ID_APPLICATION"
44
+
45
+ # As of 2021-11-09, this is only available with Apple ID auth
46
+ DEVELOPER_ID_INSTALLER = "DEVELOPER_ID_INSTALLER"
44
47
  end
45
48
 
46
49
  def self.type
@@ -29,7 +29,7 @@ module Spaceship
29
29
  attr_accessor :in_house
30
30
 
31
31
  def self.from(hash: nil, filepath: nil)
32
- api_token ||= self.create(**hash) if hash
32
+ api_token ||= self.create(**hash.transform_keys(&:to_sym)) if hash
33
33
  api_token ||= self.from_json_file(filepath) if filepath
34
34
  return api_token
35
35
  end
@@ -32,6 +32,7 @@ require 'spaceship/connect_api/models/beta_tester_metric'
32
32
  require 'spaceship/connect_api/models/build'
33
33
  require 'spaceship/connect_api/models/build_delivery'
34
34
  require 'spaceship/connect_api/models/build_beta_detail'
35
+ require 'spaceship/connect_api/models/build_bundle'
35
36
  require 'spaceship/connect_api/models/custom_app_organization'
36
37
  require 'spaceship/connect_api/models/custom_app_user'
37
38
  require 'spaceship/connect_api/models/pre_release_version'
@@ -286,10 +286,10 @@ module Supply
286
286
 
287
287
  filtered_release = filtered_track.releases.first { |r| !r.name.nil? && r.name == version }
288
288
 
289
- # Since we can release on Alpha/Beta without release notes.
289
+ # Since we can release on Internal/Alpha/Beta without release notes.
290
290
  if filtered_release.release_notes.nil?
291
- UI.user_error!("Version '#{version}' for '#{current_package_name}' does not seem to have any release notes. Nothing to download.")
292
- return nil
291
+ UI.message("Version '#{version}' for '#{current_package_name}' does not seem to have any release notes. Nothing to download.")
292
+ return []
293
293
  end
294
294
 
295
295
  return filtered_release.release_notes.map do |row|
@@ -147,7 +147,7 @@ module Supply
147
147
  end
148
148
 
149
149
  def verify_config!
150
- unless metadata_path || Supply.config[:apk] || Supply.config[:apk_paths] || Supply.config[:aab] || Supply.config[:aab_paths] || (Supply.config[:track] && Supply.config[:track_promote_to])
150
+ unless metadata_path || Supply.config[:apk] || Supply.config[:apk_paths] || Supply.config[:aab] || Supply.config[:aab_paths] || (Supply.config[:track] && Supply.config[:track_promote_to]) || (Supply.config[:track] && Supply.config[:rollout])
151
151
  UI.user_error!("No local metadata, apks, aab, or track to promote were found, make sure to run `fastlane supply init` to setup supply")
152
152
  end
153
153
 
metadata CHANGED
@@ -1,38 +1,38 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.195.0
4
+ version: 2.198.1
5
5
  platform: ruby
6
6
  authors:
7
- - Stefan Natchev
8
- - Roger Oba
9
- - Fumiya Nakamura
10
- - Jérôme Lacoste
11
- - Iulian Onofrei
12
- - Jorge Revuelta H
13
- - Max Ott
14
7
  - Daniel Jankowski
15
- - Olivier Halligon
16
8
  - Helmut Januschka
17
- - Manish Rathi
18
- - Jan Piotrowski
19
- - Danielle Tomlinson
20
- - Luka Mirosevic
21
- - Jimmy Dee
22
- - Andrew McBurney
9
+ - Aaron Brager
10
+ - Felix Krause
23
11
  - Joshua Liebowitz
12
+ - Andrew McBurney
24
13
  - Satoshi Namai
25
- - Felix Krause
14
+ - Iulian Onofrei
15
+ - Max Ott
16
+ - Fumiya Nakamura
17
+ - Luka Mirosevic
26
18
  - Kohki Miki
27
- - Aaron Brager
19
+ - Manish Rathi
20
+ - Olivier Halligon
21
+ - Stefan Natchev
22
+ - Manu Wallner
28
23
  - Matthew Ellis
24
+ - Roger Oba
29
25
  - Josh Holtz
26
+ - Jan Piotrowski
27
+ - Jimmy Dee
28
+ - Danielle Tomlinson
30
29
  - Maksym Grebenets
31
- - Manu Wallner
30
+ - Jérôme Lacoste
31
+ - Jorge Revuelta H
32
32
  autorequire:
33
33
  bindir: bin
34
34
  cert_chain: []
35
- date: 2021-09-25 00:00:00.000000000 Z
35
+ date: 2021-11-17 00:00:00.000000000 Z
36
36
  dependencies:
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: xcodeproj
@@ -1691,6 +1691,7 @@ files:
1691
1691
  - spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb
1692
1692
  - spaceship/lib/spaceship/connect_api/models/build.rb
1693
1693
  - spaceship/lib/spaceship/connect_api/models/build_beta_detail.rb
1694
+ - spaceship/lib/spaceship/connect_api/models/build_bundle.rb
1694
1695
  - spaceship/lib/spaceship/connect_api/models/build_delivery.rb
1695
1696
  - spaceship/lib/spaceship/connect_api/models/bundle_id.rb
1696
1697
  - spaceship/lib/spaceship/connect_api/models/bundle_id_capability.rb
@@ -1711,6 +1712,7 @@ files:
1711
1712
  - spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
1712
1713
  - spaceship/lib/spaceship/connect_api/response.rb
1713
1714
  - spaceship/lib/spaceship/connect_api/spaceship.rb
1715
+ - spaceship/lib/spaceship/connect_api/testflight/.testflight.rb.swp
1714
1716
  - spaceship/lib/spaceship/connect_api/testflight/client.rb
1715
1717
  - spaceship/lib/spaceship/connect_api/testflight/testflight.rb
1716
1718
  - spaceship/lib/spaceship/connect_api/token.rb
@@ -1838,28 +1840,32 @@ homepage: https://fastlane.tools
1838
1840
  licenses:
1839
1841
  - MIT
1840
1842
  metadata:
1841
- docs_url: https://docs.fastlane.tools
1843
+ bug_tracker_uri: https://github.com/fastlane/fastlane/issues
1844
+ changelog_uri: https://github.com/fastlane/fastlane/releases
1845
+ documentation_uri: https://docs.fastlane.tools/
1846
+ homepage_uri: https://fastlane.tools
1847
+ source_code_uri: https://github.com/fastlane/fastlane
1842
1848
  post_install_message:
1843
1849
  rdoc_options: []
1844
1850
  require_paths:
1851
+ - cert/lib
1845
1852
  - credentials_manager/lib
1846
- - pem/lib
1847
- - snapshot/lib
1848
- - frameit/lib
1849
- - match/lib
1850
- - fastlane_core/lib
1851
1853
  - deliver/lib
1852
- - scan/lib
1853
- - supply/lib
1854
- - cert/lib
1855
1854
  - fastlane/lib
1856
- - spaceship/lib
1857
- - pilot/lib
1855
+ - fastlane_core/lib
1856
+ - frameit/lib
1858
1857
  - gym/lib
1858
+ - match/lib
1859
+ - pem/lib
1860
+ - pilot/lib
1859
1861
  - precheck/lib
1862
+ - produce/lib
1863
+ - scan/lib
1860
1864
  - screengrab/lib
1861
1865
  - sigh/lib
1862
- - produce/lib
1866
+ - snapshot/lib
1867
+ - spaceship/lib
1868
+ - supply/lib
1863
1869
  required_ruby_version: !ruby/object:Gem::Requirement
1864
1870
  requirements:
1865
1871
  - - ">="
@@ -1871,7 +1877,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1871
1877
  - !ruby/object:Gem::Version
1872
1878
  version: '0'
1873
1879
  requirements: []
1874
- rubygems_version: 3.1.6
1880
+ rubygems_version: 3.2.3
1875
1881
  signing_key:
1876
1882
  specification_version: 4
1877
1883
  summary: The easiest way to automate beta deployments and releases for your iOS and