fastlane 2.71.0.beta.20171221010003 → 2.71.0.beta.20171222010003

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 (53) hide show
  1. checksums.yaml +4 -4
  2. data/cert/lib/cert/options.rb +3 -0
  3. data/deliver/lib/deliver/options.rb +7 -0
  4. data/fastlane/lib/fastlane/actions/app_store_build_number.rb +3 -0
  5. data/fastlane/lib/fastlane/actions/automatic_code_signing.rb +1 -0
  6. data/fastlane/lib/fastlane/actions/commit_github_file.rb +1 -0
  7. data/fastlane/lib/fastlane/actions/create_pull_request.rb +3 -0
  8. data/fastlane/lib/fastlane/actions/dotgpg_environment.rb +1 -0
  9. data/fastlane/lib/fastlane/actions/download_dsyms.rb +10 -1
  10. data/fastlane/lib/fastlane/actions/get_version_number.rb +7 -1
  11. data/fastlane/lib/fastlane/actions/github_api.rb +1 -0
  12. data/fastlane/lib/fastlane/actions/import_from_git.rb +8 -2
  13. data/fastlane/lib/fastlane/actions/latest_testflight_build_number.rb +3 -0
  14. data/fastlane/lib/fastlane/actions/modify_services.rb +3 -0
  15. data/fastlane/lib/fastlane/actions/register_device.rb +2 -0
  16. data/fastlane/lib/fastlane/actions/register_devices.rb +2 -0
  17. data/fastlane/lib/fastlane/actions/s3.rb +2 -0
  18. data/fastlane/lib/fastlane/actions/set_changelog.rb +3 -0
  19. data/fastlane/lib/fastlane/actions/set_github_release.rb +1 -0
  20. data/fastlane/lib/fastlane/actions/update_app_identifier.rb +2 -0
  21. data/fastlane/lib/fastlane/actions/update_info_plist.rb +1 -0
  22. data/fastlane/lib/fastlane/actions/update_project_code_signing.rb +2 -0
  23. data/fastlane/lib/fastlane/actions/update_project_team.rb +1 -0
  24. data/fastlane/lib/fastlane/actions/verify_xcode.rb +1 -0
  25. data/fastlane/lib/fastlane/actions/version_bump_podspec.rb +1 -0
  26. data/fastlane/lib/fastlane/actions/version_get_podspec.rb +1 -0
  27. data/fastlane/lib/fastlane/actions/xcode_install.rb +1 -0
  28. data/fastlane/lib/fastlane/fast_file.rb +9 -75
  29. data/fastlane/lib/fastlane/swift_fastlane_api_generator.rb +1 -2
  30. data/fastlane/lib/fastlane/swift_fastlane_function.rb +0 -32
  31. data/fastlane/lib/fastlane/version.rb +1 -1
  32. data/fastlane/swift/Deliverfile.swift +1 -1
  33. data/fastlane/swift/Fastlane.swift +12 -12
  34. data/fastlane/swift/Gymfile.swift +1 -1
  35. data/fastlane/swift/Matchfile.swift +1 -1
  36. data/fastlane/swift/Precheckfile.swift +1 -1
  37. data/fastlane/swift/Scanfile.swift +1 -1
  38. data/fastlane/swift/Screengrabfile.swift +1 -1
  39. data/fastlane/swift/Snapshotfile.swift +1 -1
  40. data/fastlane_core/lib/fastlane_core.rb +1 -0
  41. data/fastlane_core/lib/fastlane_core/configuration/config_item.rb +31 -0
  42. data/fastlane_core/lib/fastlane_core/tag_version.rb +24 -0
  43. data/match/lib/match/options.rb +3 -0
  44. data/pem/lib/pem/options.rb +3 -0
  45. data/pilot/lib/pilot/options.rb +6 -0
  46. data/precheck/lib/precheck/options.rb +3 -0
  47. data/produce/lib/produce/options.rb +7 -0
  48. data/scan/lib/scan/options.rb +2 -0
  49. data/screengrab/lib/screengrab/options.rb +4 -0
  50. data/sigh/lib/sigh/options.rb +3 -0
  51. data/snapshot/lib/snapshot/options.rb +1 -0
  52. data/supply/lib/supply/options.rb +6 -0
  53. metadata +5 -4
@@ -35,6 +35,7 @@ module Match
35
35
  is_string: false,
36
36
  type: Array, # we actually allow String and Array here
37
37
  skip_type_validation: true,
38
+ code_gen_sensitive: true,
38
39
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)),
39
40
  FastlaneCore::ConfigItem.new(key: :username,
40
41
  short_option: "-u",
@@ -62,6 +63,7 @@ module Match
62
63
  env_name: "FASTLANE_TEAM_ID",
63
64
  description: "The ID of your Developer Portal team if you're in multiple teams",
64
65
  optional: true,
66
+ code_gen_sensitive: true,
65
67
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:team_id),
66
68
  verify_block: proc do |value|
67
69
  ENV["FASTLANE_TEAM_ID"] = value.to_s
@@ -81,6 +83,7 @@ module Match
81
83
  env_name: "FASTLANE_TEAM_NAME",
82
84
  description: "The name of your Developer Portal team if you're in multiple teams",
83
85
  optional: true,
86
+ code_gen_sensitive: true,
84
87
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:team_name),
85
88
  verify_block: proc do |value|
86
89
  ENV["FASTLANE_TEAM_NAME"] = value.to_s
@@ -41,6 +41,7 @@ module PEM
41
41
  short_option: "-a",
42
42
  env_name: "PEM_APP_IDENTIFIER",
43
43
  description: "The bundle identifier of your app",
44
+ code_gen_sensitive: true,
44
45
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)),
45
46
  FastlaneCore::ConfigItem.new(key: :username,
46
47
  short_option: "-u",
@@ -50,6 +51,7 @@ module PEM
50
51
  FastlaneCore::ConfigItem.new(key: :team_id,
51
52
  short_option: "-b",
52
53
  env_name: "PEM_TEAM_ID",
54
+ code_gen_sensitive: true,
53
55
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:team_id),
54
56
  description: "The ID of your Developer Portal team if you're in multiple teams",
55
57
  optional: true,
@@ -61,6 +63,7 @@ module PEM
61
63
  env_name: "PEM_TEAM_NAME",
62
64
  description: "The name of your Developer Portal team if you're in multiple teams",
63
65
  optional: true,
66
+ code_gen_sensitive: true,
64
67
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:team_name),
65
68
  verify_block: proc do |value|
66
69
  ENV["FASTLANE_TEAM_NAME"] = value.to_s
@@ -18,6 +18,7 @@ module Pilot
18
18
  env_name: "PILOT_APP_IDENTIFIER",
19
19
  description: "The bundle identifier of the app to upload or manage testers (optional)",
20
20
  optional: true,
21
+ code_gen_sensitive: true,
21
22
  default_value: ENV["TESTFLIGHT_APP_IDENTITIFER"] || CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)),
22
23
  FastlaneCore::ConfigItem.new(key: :app_platform,
23
24
  short_option: "-m",
@@ -33,6 +34,7 @@ module Pilot
33
34
  optional: true,
34
35
  env_name: "PILOT_IPA",
35
36
  description: "Path to the ipa file to upload",
37
+ code_gen_sensitive: true,
36
38
  default_value: Dir["*.ipa"].sort_by { |x| File.mtime(x) }.last,
37
39
  verify_block: proc do |value|
38
40
  value = File.expand_path(value)
@@ -78,6 +80,7 @@ module Pilot
78
80
  env_name: "PILOT_APPLE_ID",
79
81
  description: "The unique App ID provided by iTunes Connect",
80
82
  optional: true,
83
+ code_gen_sensitive: true,
81
84
  default_value: ENV["TESTFLIGHT_APPLE_ID"]),
82
85
  FastlaneCore::ConfigItem.new(key: :distribute_external,
83
86
  is_string: false,
@@ -123,6 +126,7 @@ module Pilot
123
126
  description: "The ID of your iTunes Connect team if you're in multiple teams",
124
127
  optional: true,
125
128
  is_string: false, # as we also allow integers, which we convert to strings anyway
129
+ code_gen_sensitive: true,
126
130
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_id),
127
131
  verify_block: proc do |value|
128
132
  ENV["FASTLANE_ITC_TEAM_ID"] = value.to_s
@@ -132,6 +136,7 @@ module Pilot
132
136
  env_name: "PILOT_TEAM_NAME",
133
137
  description: "The name of your iTunes Connect team if you're in multiple teams",
134
138
  optional: true,
139
+ code_gen_sensitive: true,
135
140
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_name),
136
141
  verify_block: proc do |value|
137
142
  ENV["FASTLANE_ITC_TEAM_NAME"] = value.to_s
@@ -141,6 +146,7 @@ module Pilot
141
146
  description: "The short ID of your team in the developer portal, if you're in multiple teams. Different from your iTC team ID!",
142
147
  optional: true,
143
148
  is_string: true,
149
+ code_gen_sensitive: true,
144
150
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:team_id),
145
151
  verify_block: proc do |value|
146
152
  ENV["FASTLANE_TEAM_ID"] = value.to_s
@@ -28,6 +28,7 @@ module Precheck
28
28
  short_option: "-a",
29
29
  env_name: "PRECHECK_APP_IDENTIFIER",
30
30
  description: "The bundle identifier of your app",
31
+ code_gen_sensitive: true,
31
32
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)),
32
33
  FastlaneCore::ConfigItem.new(key: :username,
33
34
  short_option: "-u",
@@ -39,6 +40,7 @@ module Precheck
39
40
  env_name: "PRECHECK_TEAM_ID",
40
41
  description: "The ID of your iTunes Connect team if you're in multiple teams",
41
42
  optional: true,
43
+ code_gen_sensitive: true,
42
44
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_id),
43
45
  verify_block: proc do |value|
44
46
  ENV["FASTLANE_ITC_TEAM_ID"] = value.to_s
@@ -48,6 +50,7 @@ module Precheck
48
50
  env_name: "PRECHECK_TEAM_NAME",
49
51
  description: "The name of your iTunes Connect team if you're in multiple teams",
50
52
  optional: true,
53
+ code_gen_sensitive: true,
51
54
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_name),
52
55
  verify_block: proc do |value|
53
56
  ENV["FASTLANE_ITC_TEAM_NAME"] = value.to_s
@@ -12,11 +12,13 @@ module Produce
12
12
  short_option: "-u",
13
13
  env_name: "PRODUCE_USERNAME",
14
14
  description: "Your Apple ID Username",
15
+ code_gen_sensitive: true,
15
16
  default_value: user),
16
17
  FastlaneCore::ConfigItem.new(key: :app_identifier,
17
18
  env_name: "PRODUCE_APP_IDENTIFIER",
18
19
  short_option: "-a",
19
20
  description: "App Identifier (Bundle ID, e.g. com.krausefx.app)",
21
+ code_gen_sensitive: true,
20
22
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)),
21
23
  FastlaneCore::ConfigItem.new(key: :bundle_identifier_suffix,
22
24
  short_option: "-e",
@@ -36,6 +38,7 @@ module Produce
36
38
  env_name: "PRODUCE_SKU",
37
39
  short_option: "-y",
38
40
  description: "SKU Number (e.g. '1234')",
41
+ code_gen_sensitive: true,
39
42
  default_value: Time.now.to_i.to_s,
40
43
  is_string: true),
41
44
  FastlaneCore::ConfigItem.new(key: :platform,
@@ -112,6 +115,7 @@ module Produce
112
115
  env_name: "PRODUCE_TEAM_ID",
113
116
  description: "The ID of your Developer Portal team if you're in multiple teams",
114
117
  optional: true,
118
+ code_gen_sensitive: true,
115
119
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:team_id),
116
120
  verify_block: proc do |value|
117
121
  ENV["FASTLANE_TEAM_ID"] = value.to_s
@@ -121,6 +125,7 @@ module Produce
121
125
  env_name: "PRODUCE_TEAM_NAME",
122
126
  description: "The name of your Developer Portal team if you're in multiple teams",
123
127
  optional: true,
128
+ code_gen_sensitive: true,
124
129
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:team_name),
125
130
  verify_block: proc do |value|
126
131
  ENV["FASTLANE_TEAM_NAME"] = value.to_s
@@ -131,6 +136,7 @@ module Produce
131
136
  description: "The ID of your iTunes Connect team if you're in multiple teams",
132
137
  optional: true,
133
138
  is_string: false, # as we also allow integers, which we convert to strings anyway
139
+ code_gen_sensitive: true,
134
140
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_id),
135
141
  verify_block: proc do |value|
136
142
  ENV["FASTLANE_ITC_TEAM_ID"] = value.to_s
@@ -140,6 +146,7 @@ module Produce
140
146
  env_name: "PRODUCE_ITC_TEAM_NAME",
141
147
  description: "The name of your iTunes Connect team if you're in multiple teams",
142
148
  optional: true,
149
+ code_gen_sensitive: true,
143
150
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_name),
144
151
  verify_block: proc do |value|
145
152
  ENV["FASTLANE_ITC_TEAM_NAME"] = value.to_s
@@ -105,6 +105,8 @@ module Scan
105
105
  short_option: "-o",
106
106
  env_name: "SCAN_OUTPUT_DIRECTORY",
107
107
  description: "The directory in which all reports will be stored",
108
+ code_gen_sensitive: true,
109
+ code_gen_default_value: "./test_output",
108
110
  default_value: File.join(containing, "test_output")),
109
111
  FastlaneCore::ConfigItem.new(key: :output_style,
110
112
  short_option: "-b",
@@ -14,6 +14,7 @@ module Screengrab
14
14
  FastlaneCore::ConfigItem.new(key: :android_home,
15
15
  short_option: "-n",
16
16
  optional: true,
17
+ code_gen_sensitive: true,
17
18
  default_value: ENV['ANDROID_HOME'] || ENV['ANDROID_SDK'],
18
19
  description: "Path to the root of your Android SDK installation, e.g. ~/tools/android-sdk-macosx"),
19
20
  FastlaneCore::ConfigItem.new(key: :build_tools_version,
@@ -44,6 +45,7 @@ module Screengrab
44
45
  env_name: 'SCREENGRAB_APP_PACKAGE_NAME',
45
46
  short_option: "-a",
46
47
  description: "The package name of the app under test (e.g. com.yourcompany.yourapp)",
48
+ code_gen_sensitive: true,
47
49
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:package_name)),
48
50
  FastlaneCore::ConfigItem.new(key: :tests_package_name,
49
51
  env_name: 'SCREENGRAB_TESTS_PACKAGE_NAME',
@@ -83,6 +85,7 @@ module Screengrab
83
85
  optional: true,
84
86
  description: "The path to the APK for the app under test",
85
87
  short_option: "-k",
88
+ code_gen_sensitive: true,
86
89
  default_value: Dir[File.join("app", "build", "outputs", "apk", "app-debug.apk")].last,
87
90
  verify_block: proc do |value|
88
91
  UI.user_error! "Could not find APK file at path '#{value}'" unless File.exist?(value)
@@ -92,6 +95,7 @@ module Screengrab
92
95
  optional: true,
93
96
  description: "The path to the APK for the the tests bundle",
94
97
  short_option: "-b",
98
+ code_gen_sensitive: true,
95
99
  default_value: Dir[File.join("app", "build", "outputs", "apk", "app-debug-androidTest-unaligned.apk")].last,
96
100
  verify_block: proc do |value|
97
101
  UI.user_error! "Could not find APK file at path '#{value}'" unless File.exist?(value)
@@ -41,6 +41,7 @@ module Sigh
41
41
  short_option: "-a",
42
42
  env_name: "SIGH_APP_IDENTIFIER",
43
43
  description: "The bundle identifier of your app",
44
+ code_gen_sensitive: true,
44
45
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)),
45
46
  FastlaneCore::ConfigItem.new(key: :username,
46
47
  short_option: "-u",
@@ -52,6 +53,7 @@ module Sigh
52
53
  env_name: "SIGH_TEAM_ID",
53
54
  description: "The ID of your Developer Portal team if you're in multiple teams",
54
55
  optional: true,
56
+ code_gen_sensitive: true,
55
57
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:team_id),
56
58
  verify_block: proc do |value|
57
59
  ENV["FASTLANE_TEAM_ID"] = value.to_s
@@ -61,6 +63,7 @@ module Sigh
61
63
  env_name: "SIGH_TEAM_NAME",
62
64
  description: "The name of your Developer Portal team if you're in multiple teams",
63
65
  optional: true,
66
+ code_gen_sensitive: true,
64
67
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:team_name),
65
68
  verify_block: proc do |value|
66
69
  ENV["FASTLANE_TEAM_NAME"] = value.to_s
@@ -110,6 +110,7 @@ module Snapshot
110
110
  short_option: "-a",
111
111
  optional: true,
112
112
  description: "The bundle identifier of the app to uninstall (only needed when enabling reinstall_app)",
113
+ code_gen_sensitive: true,
113
114
  default_value: ENV["SNAPSHOT_APP_IDENTITIFER"] || CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)),
114
115
  FastlaneCore::ConfigItem.new(key: :add_photos,
115
116
  env_name: 'SNAPSHOT_PHOTOS',
@@ -11,6 +11,7 @@ module Supply
11
11
  env_name: "SUPPLY_PACKAGE_NAME",
12
12
  short_option: "-p",
13
13
  description: "The package name of the application to use",
14
+ code_gen_sensitive: true,
14
15
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:package_name)),
15
16
  FastlaneCore::ConfigItem.new(key: :track,
16
17
  short_option: "-a",
@@ -42,6 +43,7 @@ module Supply
42
43
  conflicting_options: [:json_key],
43
44
  deprecated: 'Use --json_key instead',
44
45
  description: "The p12 File used to authenticate with Google",
46
+ code_gen_sensitive: true,
45
47
  default_value: Dir["*.p12"].first || CredentialsManager::AppfileConfig.try_fetch_value(:keyfile),
46
48
  verify_block: proc do |value|
47
49
  UI.user_error! "Could not find p12 file at path '#{File.expand_path(value)}'" unless File.exist?(File.expand_path(value))
@@ -52,6 +54,7 @@ module Supply
52
54
  conflicting_options: [:json_key],
53
55
  deprecated: 'Use --json_key instead',
54
56
  description: "The issuer of the p12 file (email address of the service account)",
57
+ code_gen_sensitive: true,
55
58
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:issuer),
56
59
  verify_block: proc do |value|
57
60
  UI.important("DEPRECATED --issuer OPTION. Use --json_key instead")
@@ -62,6 +65,7 @@ module Supply
62
65
  conflicting_options: [:issuer, :key, :json_key_data],
63
66
  optional: true, # this shouldn't be optional but is until --key and --issuer are completely removed
64
67
  description: "The service account json file used to authenticate with Google",
68
+ code_gen_sensitive: true,
65
69
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:json_key_file),
66
70
  verify_block: proc do |value|
67
71
  UI.user_error! "'#{value}' doesn't seem to be a JSON file" unless FastlaneCore::Helper.json_file?(File.expand_path(value))
@@ -73,6 +77,7 @@ module Supply
73
77
  conflicting_options: [:issuer, :key, :json_key],
74
78
  optional: true,
75
79
  description: "The service account json used to authenticate with Google",
80
+ code_gen_sensitive: true,
76
81
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:json_key_data_raw),
77
82
  verify_block: proc do |value|
78
83
  begin
@@ -86,6 +91,7 @@ module Supply
86
91
  description: "Path to the APK file to upload",
87
92
  short_option: "-b",
88
93
  conflicting_options: [:apk_paths],
94
+ code_gen_sensitive: true,
89
95
  default_value: Dir["*.apk"].last || Dir[File.join("app", "build", "outputs", "apk", "app-Release.apk")].last,
90
96
  optional: true,
91
97
  verify_block: proc do |value|
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.71.0.beta.20171221010003
4
+ version: 2.71.0.beta.20171222010003
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
@@ -15,7 +15,7 @@ authors:
15
15
  autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
- date: 2017-12-21 00:00:00.000000000 Z
18
+ date: 2017-12-22 00:00:00.000000000 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: slack-notifier
@@ -677,14 +677,14 @@ dependencies:
677
677
  requirements:
678
678
  - - "~>"
679
679
  - !ruby/object:Gem::Version
680
- version: 0.8.7.4
680
+ version: 0.9.11
681
681
  type: :development
682
682
  prerelease: false
683
683
  version_requirements: !ruby/object:Gem::Requirement
684
684
  requirements:
685
685
  - - "~>"
686
686
  - !ruby/object:Gem::Version
687
- version: 0.8.7.4
687
+ version: 0.9.11
688
688
  - !ruby/object:Gem::Dependency
689
689
  name: webmock
690
690
  requirement: !ruby/object:Gem::Requirement
@@ -1225,6 +1225,7 @@ files:
1225
1225
  - fastlane_core/lib/fastlane_core/provisioning_profile.rb
1226
1226
  - fastlane_core/lib/fastlane_core/string_filters.rb
1227
1227
  - fastlane_core/lib/fastlane_core/swag.rb
1228
+ - fastlane_core/lib/fastlane_core/tag_version.rb
1228
1229
  - fastlane_core/lib/fastlane_core/test_parser.rb
1229
1230
  - fastlane_core/lib/fastlane_core/tool_collector.rb
1230
1231
  - fastlane_core/lib/fastlane_core/ui/disable_colors.rb