fastlane 2.149.1 → 2.150.0.rc5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/deliver/lib/deliver.rb +0 -1
- data/deliver/lib/deliver/app_screenshot.rb +26 -25
- data/deliver/lib/deliver/download_screenshots.rb +46 -26
- data/deliver/lib/deliver/options.rb +6 -11
- data/deliver/lib/deliver/runner.rb +7 -21
- data/deliver/lib/deliver/setup.rb +5 -30
- data/deliver/lib/deliver/submit_for_review.rb +170 -86
- data/deliver/lib/deliver/upload_metadata.rb +355 -143
- data/deliver/lib/deliver/upload_price_tier.rb +22 -8
- data/deliver/lib/deliver/upload_screenshots.rb +140 -39
- data/{scan/lib/scan/.test_command_generator.rb.swp → fastlane/lib/fastlane/actions/.hockey.rb.swp} +0 -0
- data/fastlane/lib/fastlane/actions/.slack.rb.swp +0 -0
- data/{snapshot/lib/snapshot/.test_command_generator_base.rb.swp → fastlane/lib/fastlane/actions/.update_project_provisioning.rb.swp} +0 -0
- data/fastlane/lib/fastlane/actions/docs/capture_ios_screenshots.md +1 -1
- data/fastlane/lib/fastlane/actions/docs/upload_to_app_store.md.erb +81 -96
- data/fastlane/lib/fastlane/actions/docs/upload_to_play_store.md +3 -2
- data/fastlane/lib/fastlane/actions/download_dsyms.rb +7 -1
- data/fastlane/lib/fastlane/actions/google_play_track_release_names.rb +74 -0
- data/fastlane/lib/fastlane/actions/set_changelog.rb +23 -20
- data/fastlane/lib/fastlane/actions/slack.rb +1 -1
- data/fastlane/lib/fastlane/actions/spm.rb +7 -0
- data/fastlane/lib/fastlane/actions/upload_symbols_to_crashlytics.rb +1 -32
- data/fastlane/lib/fastlane/lane.rb +3 -3
- data/fastlane/lib/fastlane/swift_fastlane_function.rb +8 -4
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/fastlane/swift/ControlCommand.swift +1 -0
- data/fastlane/swift/Fastlane.swift +48 -12
- data/fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.xcworkspace/xcuserdata/josh.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- data/fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/xcshareddata/xcschemes/FastlaneRunner.xcscheme +3 -9
- data/fastlane/swift/LaneFileProtocol.swift +2 -5
- data/fastlane/swift/MatchfileProtocol.swift +1 -1
- data/fastlane/swift/RubyCommand.swift +29 -6
- data/fastlane/swift/RubyCommandable.swift +1 -0
- data/fastlane/swift/Runner.swift +85 -13
- data/fastlane/swift/ScanfileProtocol.swift +1 -1
- data/fastlane/swift/SnapshotfileProtocol.swift +3 -3
- data/fastlane/swift/SocketClient.swift +76 -45
- data/fastlane/swift/SocketClientDelegateProtocol.swift +1 -1
- data/fastlane/swift/SocketResponse.swift +1 -0
- data/fastlane_core/lib/fastlane_core/build_watcher.rb +4 -4
- data/fastlane_core/lib/fastlane_core/configuration/config_item.rb +1 -3
- data/fastlane_core/lib/fastlane_core/itunes_transporter.rb +89 -52
- data/fastlane_core/lib/fastlane_core/pkg_file_analyser.rb +7 -0
- data/frameit/lib/frameit/device_types.rb +100 -100
- data/pilot/lib/pilot/.manager.rb.swp +0 -0
- data/produce/lib/produce/itunes_connect.rb +59 -21
- data/produce/lib/produce/options.rb +3 -3
- data/sigh/lib/assets/resign.sh +7 -7
- data/snapshot/lib/assets/SnapshotHelper.swift +5 -5
- data/snapshot/lib/assets/SnapshotHelperXcode8.swift +3 -3
- data/snapshot/lib/snapshot/options.rb +0 -1
- data/snapshot/lib/snapshot/reports_generator.rb +8 -1
- data/spaceship/lib/spaceship/client.rb +4 -3
- data/spaceship/lib/spaceship/connect_api.rb +25 -2
- data/spaceship/lib/spaceship/connect_api/.DS_Store +0 -0
- data/spaceship/lib/spaceship/connect_api/client.rb +97 -31
- data/spaceship/lib/spaceship/connect_api/file_uploader.rb +98 -0
- data/spaceship/lib/spaceship/connect_api/model.rb +1 -1
- data/spaceship/lib/spaceship/connect_api/models/age_rating_declaration.rb +113 -0
- data/spaceship/lib/spaceship/connect_api/models/app.rb +135 -3
- data/spaceship/lib/spaceship/connect_api/models/app_category.rb +94 -0
- data/spaceship/lib/spaceship/connect_api/models/app_info.rb +67 -0
- data/spaceship/lib/spaceship/connect_api/models/app_info_localization.rb +38 -0
- data/spaceship/lib/spaceship/connect_api/models/app_preview.rb +129 -0
- data/spaceship/lib/spaceship/connect_api/models/app_preview_set.rb +71 -0
- data/spaceship/lib/spaceship/connect_api/models/app_price.rb +22 -0
- data/spaceship/lib/spaceship/connect_api/models/app_price_tier.rb +12 -0
- data/spaceship/lib/spaceship/connect_api/models/app_review_attachment.rb +71 -0
- data/spaceship/lib/spaceship/connect_api/models/app_screenshot.rb +146 -0
- data/spaceship/lib/spaceship/connect_api/models/app_screenshot_set.rb +125 -0
- data/spaceship/lib/spaceship/connect_api/models/app_store_review_detail.rb +51 -0
- data/spaceship/lib/spaceship/connect_api/models/app_store_version.rb +183 -0
- data/spaceship/lib/spaceship/connect_api/models/app_store_version_localization.rb +86 -0
- data/spaceship/lib/spaceship/connect_api/models/app_store_version_phased_release.rb +36 -0
- data/spaceship/lib/spaceship/connect_api/models/app_store_version_submission.rb +26 -0
- data/spaceship/lib/spaceship/connect_api/models/build.rb +4 -0
- data/spaceship/lib/spaceship/connect_api/models/idfa_declaration.rb +40 -0
- data/spaceship/lib/spaceship/connect_api/models/reset_ratings_request.rb +26 -0
- data/spaceship/lib/spaceship/connect_api/models/territory.rb +27 -0
- data/spaceship/lib/spaceship/connect_api/models/user.rb +2 -1
- data/spaceship/lib/spaceship/connect_api/testflight/testflight.rb +10 -3
- data/spaceship/lib/spaceship/connect_api/tunes/client.rb +33 -0
- data/spaceship/lib/spaceship/connect_api/tunes/tunes.rb +844 -0
- data/spaceship/lib/spaceship/connect_api/users/users.rb +13 -0
- data/spaceship/lib/spaceship/spaceauth_runner.rb +2 -2
- data/supply/lib/supply/client.rb +19 -0
- data/supply/lib/supply/reader.rb +16 -0
- metadata +34 -22
- data/deliver/lib/deliver/upload_assets.rb +0 -27
@@ -11,6 +11,19 @@ module Spaceship
|
|
11
11
|
params = Client.instance.build_params(filter: filter, includes: includes, limit: limit, sort: sort)
|
12
12
|
Client.instance.get("users", params)
|
13
13
|
end
|
14
|
+
|
15
|
+
def add_user_visible_apps(user_id: nil, app_ids: nil)
|
16
|
+
body = {
|
17
|
+
data: app_ids.map do |app_id|
|
18
|
+
{
|
19
|
+
type: "apps",
|
20
|
+
id: app_id
|
21
|
+
}
|
22
|
+
end
|
23
|
+
}
|
24
|
+
|
25
|
+
Client.instance.post("users/#{user_id}/relationships/visibleApps", body)
|
26
|
+
end
|
14
27
|
end
|
15
28
|
end
|
16
29
|
end
|
@@ -39,8 +39,8 @@ module Spaceship
|
|
39
39
|
# value: HSARMTKNSRVTWFlaF/ek8asaa9lymMA0dN8JQ6pY7B3F5kdqTxJvMT19EVEFX8EQudB/uNwBHOHzaa30KYTU/eCP/UF7vGTgxs6PAnlVWKscWssOVHfP2IKWUPaa4Dn+I6ilA7eAFQsiaaVT
|
40
40
|
cookies = YAML.safe_load(
|
41
41
|
itc_cookie_content,
|
42
|
-
[HTTP::Cookie, Time], # classes
|
43
|
-
[], # symbols
|
42
|
+
[HTTP::Cookie, Time], # classes allowlist
|
43
|
+
[], # symbols allowlist
|
44
44
|
true # allow YAML aliases
|
45
45
|
)
|
46
46
|
|
data/supply/lib/supply/client.rb
CHANGED
@@ -4,6 +4,7 @@ AndroidPublisher = Google::Apis::AndroidpublisherV3
|
|
4
4
|
|
5
5
|
require 'net/http'
|
6
6
|
|
7
|
+
# rubocop:disable Metrics/ClassLength
|
7
8
|
module Supply
|
8
9
|
class AbstractGoogleServiceClient
|
9
10
|
SCOPE = nil
|
@@ -410,6 +411,23 @@ module Supply
|
|
410
411
|
end
|
411
412
|
end
|
412
413
|
|
414
|
+
# Get list of release names for track
|
415
|
+
def track_releases(track)
|
416
|
+
ensure_active_edit!
|
417
|
+
|
418
|
+
begin
|
419
|
+
result = client.get_edit_track(
|
420
|
+
current_package_name,
|
421
|
+
current_edit.id,
|
422
|
+
track
|
423
|
+
)
|
424
|
+
return result.releases || []
|
425
|
+
rescue Google::Apis::ClientError => e
|
426
|
+
return [] if e.status_code == 404 && e.to_s.include?("trackEmpty")
|
427
|
+
raise
|
428
|
+
end
|
429
|
+
end
|
430
|
+
|
413
431
|
def upload_changelogs(track, track_name)
|
414
432
|
ensure_active_edit!
|
415
433
|
|
@@ -529,3 +547,4 @@ module Supply
|
|
529
547
|
end
|
530
548
|
end
|
531
549
|
end
|
550
|
+
# rubocop:enable Metrics/ClassLength
|
data/supply/lib/supply/reader.rb
CHANGED
@@ -16,6 +16,22 @@ module Supply
|
|
16
16
|
version_codes
|
17
17
|
end
|
18
18
|
|
19
|
+
def track_release_names
|
20
|
+
track = Supply.config[:track]
|
21
|
+
|
22
|
+
client.begin_edit(package_name: Supply.config[:package_name])
|
23
|
+
release_names = client.track_releases(track).map(&:name)
|
24
|
+
client.abort_current_edit
|
25
|
+
|
26
|
+
if release_names.empty?
|
27
|
+
UI.important("No release names found in track '#{track}'")
|
28
|
+
else
|
29
|
+
UI.success("Found '#{release_names.join(', ')}' release names in track '#{track}'")
|
30
|
+
end
|
31
|
+
|
32
|
+
release_names
|
33
|
+
end
|
34
|
+
|
19
35
|
private
|
20
36
|
|
21
37
|
def client
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.150.0.rc5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manu Wallner
|
@@ -29,7 +29,7 @@ authors:
|
|
29
29
|
autorequire:
|
30
30
|
bindir: bin
|
31
31
|
cert_chain: []
|
32
|
-
date: 2020-06-
|
32
|
+
date: 2020-06-30 00:00:00.000000000 Z
|
33
33
|
dependencies:
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: slack-notifier
|
@@ -213,20 +213,6 @@ dependencies:
|
|
213
213
|
- - "~>"
|
214
214
|
- !ruby/object:Gem::Version
|
215
215
|
version: 1.0.0
|
216
|
-
- !ruby/object:Gem::Dependency
|
217
|
-
name: public_suffix
|
218
|
-
requirement: !ruby/object:Gem::Requirement
|
219
|
-
requirements:
|
220
|
-
- - "~>"
|
221
|
-
- !ruby/object:Gem::Version
|
222
|
-
version: 2.0.0
|
223
|
-
type: :runtime
|
224
|
-
prerelease: false
|
225
|
-
version_requirements: !ruby/object:Gem::Requirement
|
226
|
-
requirements:
|
227
|
-
- - "~>"
|
228
|
-
- !ruby/object:Gem::Version
|
229
|
-
version: 2.0.0
|
230
216
|
- !ruby/object:Gem::Dependency
|
231
217
|
name: tty-screen
|
232
218
|
requirement: !ruby/object:Gem::Requirement
|
@@ -1003,7 +989,6 @@ files:
|
|
1003
989
|
- deliver/lib/deliver/runner.rb
|
1004
990
|
- deliver/lib/deliver/setup.rb
|
1005
991
|
- deliver/lib/deliver/submit_for_review.rb
|
1006
|
-
- deliver/lib/deliver/upload_assets.rb
|
1007
992
|
- deliver/lib/deliver/upload_metadata.rb
|
1008
993
|
- deliver/lib/deliver/upload_price_tier.rb
|
1009
994
|
- deliver/lib/deliver/upload_screenshots.rb
|
@@ -1028,6 +1013,9 @@ files:
|
|
1028
1013
|
- fastlane/lib/fastlane.rb
|
1029
1014
|
- fastlane/lib/fastlane/action.rb
|
1030
1015
|
- fastlane/lib/fastlane/action_collector.rb
|
1016
|
+
- fastlane/lib/fastlane/actions/.hockey.rb.swp
|
1017
|
+
- fastlane/lib/fastlane/actions/.slack.rb.swp
|
1018
|
+
- fastlane/lib/fastlane/actions/.update_project_provisioning.rb.swp
|
1031
1019
|
- fastlane/lib/fastlane/actions/README.md
|
1032
1020
|
- fastlane/lib/fastlane/actions/actions_helper.rb
|
1033
1021
|
- fastlane/lib/fastlane/actions/adb.rb
|
@@ -1132,6 +1120,7 @@ files:
|
|
1132
1120
|
- fastlane/lib/fastlane/actions/git_submodule_update.rb
|
1133
1121
|
- fastlane/lib/fastlane/actions/git_tag_exists.rb
|
1134
1122
|
- fastlane/lib/fastlane/actions/github_api.rb
|
1123
|
+
- fastlane/lib/fastlane/actions/google_play_track_release_names.rb
|
1135
1124
|
- fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
|
1136
1125
|
- fastlane/lib/fastlane/actions/gradle.rb
|
1137
1126
|
- fastlane/lib/fastlane/actions/gym.rb
|
@@ -1363,6 +1352,7 @@ files:
|
|
1363
1352
|
- fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.pbxproj
|
1364
1353
|
- fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
|
1365
1354
|
- fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
|
1355
|
+
- fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.xcworkspace/xcuserdata/josh.xcuserdatad/UserInterfaceState.xcuserstate
|
1366
1356
|
- fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/xcshareddata/xcschemes/FastlaneRunner.xcscheme
|
1367
1357
|
- fastlane/swift/FastlaneSwiftRunner/README.txt
|
1368
1358
|
- fastlane/swift/Gymfile.swift
|
@@ -1519,6 +1509,7 @@ files:
|
|
1519
1509
|
- pem/lib/pem/options.rb
|
1520
1510
|
- pilot/README.md
|
1521
1511
|
- pilot/lib/pilot.rb
|
1512
|
+
- pilot/lib/pilot/.manager.rb.swp
|
1522
1513
|
- pilot/lib/pilot/build_manager.rb
|
1523
1514
|
- pilot/lib/pilot/commands_generator.rb
|
1524
1515
|
- pilot/lib/pilot/features.rb
|
@@ -1571,7 +1562,6 @@ files:
|
|
1571
1562
|
- scan/lib/assets/ScanfileTemplate
|
1572
1563
|
- scan/lib/assets/ScanfileTemplate.swift
|
1573
1564
|
- scan/lib/scan.rb
|
1574
|
-
- scan/lib/scan/.test_command_generator.rb.swp
|
1575
1565
|
- scan/lib/scan/commands_generator.rb
|
1576
1566
|
- scan/lib/scan/detect_values.rb
|
1577
1567
|
- scan/lib/scan/error_handler.rb
|
@@ -1615,7 +1605,6 @@ files:
|
|
1615
1605
|
- snapshot/lib/assets/SnapshotHelper.swift
|
1616
1606
|
- snapshot/lib/assets/SnapshotHelperXcode8.swift
|
1617
1607
|
- snapshot/lib/snapshot.rb
|
1618
|
-
- snapshot/lib/snapshot/.test_command_generator_base.rb.swp
|
1619
1608
|
- snapshot/lib/snapshot/collector.rb
|
1620
1609
|
- snapshot/lib/snapshot/commands_generator.rb
|
1621
1610
|
- snapshot/lib/snapshot/dependency_checker.rb
|
@@ -1653,9 +1642,27 @@ files:
|
|
1653
1642
|
- spaceship/lib/spaceship/client.rb
|
1654
1643
|
- spaceship/lib/spaceship/commands_generator.rb
|
1655
1644
|
- spaceship/lib/spaceship/connect_api.rb
|
1645
|
+
- spaceship/lib/spaceship/connect_api/.DS_Store
|
1656
1646
|
- spaceship/lib/spaceship/connect_api/client.rb
|
1647
|
+
- spaceship/lib/spaceship/connect_api/file_uploader.rb
|
1657
1648
|
- spaceship/lib/spaceship/connect_api/model.rb
|
1649
|
+
- spaceship/lib/spaceship/connect_api/models/age_rating_declaration.rb
|
1658
1650
|
- spaceship/lib/spaceship/connect_api/models/app.rb
|
1651
|
+
- spaceship/lib/spaceship/connect_api/models/app_category.rb
|
1652
|
+
- spaceship/lib/spaceship/connect_api/models/app_info.rb
|
1653
|
+
- spaceship/lib/spaceship/connect_api/models/app_info_localization.rb
|
1654
|
+
- spaceship/lib/spaceship/connect_api/models/app_preview.rb
|
1655
|
+
- spaceship/lib/spaceship/connect_api/models/app_preview_set.rb
|
1656
|
+
- spaceship/lib/spaceship/connect_api/models/app_price.rb
|
1657
|
+
- spaceship/lib/spaceship/connect_api/models/app_price_tier.rb
|
1658
|
+
- spaceship/lib/spaceship/connect_api/models/app_review_attachment.rb
|
1659
|
+
- spaceship/lib/spaceship/connect_api/models/app_screenshot.rb
|
1660
|
+
- spaceship/lib/spaceship/connect_api/models/app_screenshot_set.rb
|
1661
|
+
- spaceship/lib/spaceship/connect_api/models/app_store_review_detail.rb
|
1662
|
+
- spaceship/lib/spaceship/connect_api/models/app_store_version.rb
|
1663
|
+
- spaceship/lib/spaceship/connect_api/models/app_store_version_localization.rb
|
1664
|
+
- spaceship/lib/spaceship/connect_api/models/app_store_version_phased_release.rb
|
1665
|
+
- spaceship/lib/spaceship/connect_api/models/app_store_version_submission.rb
|
1659
1666
|
- spaceship/lib/spaceship/connect_api/models/beta_app_localization.rb
|
1660
1667
|
- spaceship/lib/spaceship/connect_api/models/beta_app_review_detail.rb
|
1661
1668
|
- spaceship/lib/spaceship/connect_api/models/beta_app_review_submission.rb
|
@@ -1673,8 +1680,11 @@ files:
|
|
1673
1680
|
- spaceship/lib/spaceship/connect_api/models/bundle_id_capability.rb
|
1674
1681
|
- spaceship/lib/spaceship/connect_api/models/certificate.rb
|
1675
1682
|
- spaceship/lib/spaceship/connect_api/models/device.rb
|
1683
|
+
- spaceship/lib/spaceship/connect_api/models/idfa_declaration.rb
|
1676
1684
|
- spaceship/lib/spaceship/connect_api/models/pre_release_version.rb
|
1677
1685
|
- spaceship/lib/spaceship/connect_api/models/profile.rb
|
1686
|
+
- spaceship/lib/spaceship/connect_api/models/reset_ratings_request.rb
|
1687
|
+
- spaceship/lib/spaceship/connect_api/models/territory.rb
|
1678
1688
|
- spaceship/lib/spaceship/connect_api/models/user.rb
|
1679
1689
|
- spaceship/lib/spaceship/connect_api/provisioning/client.rb
|
1680
1690
|
- spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
|
@@ -1682,6 +1692,8 @@ files:
|
|
1682
1692
|
- spaceship/lib/spaceship/connect_api/testflight/client.rb
|
1683
1693
|
- spaceship/lib/spaceship/connect_api/testflight/testflight.rb
|
1684
1694
|
- spaceship/lib/spaceship/connect_api/token.rb
|
1695
|
+
- spaceship/lib/spaceship/connect_api/tunes/client.rb
|
1696
|
+
- spaceship/lib/spaceship/connect_api/tunes/tunes.rb
|
1685
1697
|
- spaceship/lib/spaceship/connect_api/users/client.rb
|
1686
1698
|
- spaceship/lib/spaceship/connect_api/users/users.rb
|
1687
1699
|
- spaceship/lib/spaceship/du/du_client.rb
|
@@ -1830,11 +1842,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
1830
1842
|
version: '2.4'
|
1831
1843
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1832
1844
|
requirements:
|
1833
|
-
- - "
|
1845
|
+
- - ">"
|
1834
1846
|
- !ruby/object:Gem::Version
|
1835
|
-
version:
|
1847
|
+
version: 1.3.1
|
1836
1848
|
requirements: []
|
1837
|
-
rubygems_version: 3.0.
|
1849
|
+
rubygems_version: 3.0.3
|
1838
1850
|
signing_key:
|
1839
1851
|
specification_version: 4
|
1840
1852
|
summary: The easiest way to automate beta deployments and releases for your iOS and
|
@@ -1,27 +0,0 @@
|
|
1
|
-
require_relative 'module'
|
2
|
-
|
3
|
-
module Deliver
|
4
|
-
class UploadAssets
|
5
|
-
SUPPORTED_ICON_EXTENSIONS = [".png", ".jpg", ".jpeg"]
|
6
|
-
def upload(options)
|
7
|
-
return unless options[:app_icon] || options[:apple_watch_app_icon]
|
8
|
-
return if options[:edit_live]
|
9
|
-
app = options[:app]
|
10
|
-
|
11
|
-
v = app.edit_version(platform: options[:platform])
|
12
|
-
UI.user_error!("Could not find a version to edit for app '#{app.name}'") unless v
|
13
|
-
|
14
|
-
if options[:app_icon]
|
15
|
-
UI.message("Uploading app icon...")
|
16
|
-
v.upload_large_icon!(options[:app_icon])
|
17
|
-
end
|
18
|
-
|
19
|
-
if options[:apple_watch_app_icon]
|
20
|
-
UI.message("Uploading apple watchapp icon...")
|
21
|
-
v.upload_watch_icon!(options[:apple_watch_app_icon])
|
22
|
-
end
|
23
|
-
|
24
|
-
v.save!
|
25
|
-
end
|
26
|
-
end
|
27
|
-
end
|