fastlane 2.96.0.beta.20180516050022 → 2.96.0.beta.20180517050058
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fastlane/lib/fastlane/actions/add_extra_platforms.rb +1 -1
- data/fastlane/lib/fastlane/actions/automatic_code_signing.rb +5 -5
- data/fastlane/lib/fastlane/actions/build_and_upload_to_appetize.rb +1 -3
- data/fastlane/lib/fastlane/actions/bundle_install.rb +1 -2
- data/fastlane/lib/fastlane/actions/changelog_from_git_commits.rb +15 -6
- data/fastlane/lib/fastlane/actions/default_platform.rb +1 -1
- data/fastlane/lib/fastlane/actions/ensure_git_status_clean.rb +3 -1
- data/fastlane/lib/fastlane/actions/ensure_xcode_version.rb +3 -1
- data/fastlane/lib/fastlane/actions/git_add.rb +1 -1
- data/fastlane/lib/fastlane/actions/import.rb +1 -1
- data/fastlane/lib/fastlane/actions/min_fastlane_version.rb +3 -1
- data/fastlane/lib/fastlane/actions/notify.rb +1 -1
- data/fastlane/lib/fastlane/actions/opt_out_crash_reporting.rb +1 -1
- data/fastlane/lib/fastlane/actions/resign.rb +8 -8
- data/fastlane/lib/fastlane/actions/ruby_version.rb +3 -1
- data/fastlane/lib/fastlane/actions/say.rb +1 -1
- data/fastlane/lib/fastlane/actions/team_id.rb +1 -1
- data/fastlane/lib/fastlane/actions/team_name.rb +1 -1
- data/fastlane/lib/fastlane/actions/update_fastlane.rb +1 -1
- data/fastlane/lib/fastlane/actions/update_project_code_signing.rb +2 -2
- data/fastlane/lib/fastlane/actions/xcode_select.rb +1 -1
- data/fastlane/lib/fastlane/actions/xctool.rb +3 -3
- data/fastlane/lib/fastlane/documentation/actions_list.rb +1 -1
- data/fastlane/lib/fastlane/documentation/markdown_docs_generator.rb +2 -2
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/fastlane_core/lib/fastlane_core/configuration/config_item.rb +18 -2
- data/fastlane_core/lib/fastlane_core/helper.rb +1 -1
- data/pilot/lib/pilot/options.rb +1 -1
- data/scan/lib/scan/options.rb +1 -1
- data/supply/lib/supply/options.rb +2 -2
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21e67eb4419310790fe14bff2a0b517f17863273
|
4
|
+
data.tar.gz: ad3370950fd3f80da1b4954d0d1944ffacbe0730
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfd11a5b04ee7b195802c1d37b05312167499dcfd6e033d8a1674c12ff6d3e8ba69217fd7497d212b24bafbf1d5897a70f65a15fa189756c1904ad89a899bb05
|
7
|
+
data.tar.gz: 73aad4e4fd964a92e3e5ec69a0f35c6870e16b633efd29b6d27073ddb53ef5c4fa04919c74ea9e521e9a4a750a00734046c6063c04460bc7fd1647a758a1e024
|
@@ -172,11 +172,11 @@ module Fastlane
|
|
172
172
|
team_id: "XXXX"
|
173
173
|
)',
|
174
174
|
'# Only specific targets
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
175
|
+
disable_automatic_code_signing(
|
176
|
+
path: "demo-project/demo/demo.xcodeproj",
|
177
|
+
use_automatic_signing: false,
|
178
|
+
targets: ["demo"]
|
179
|
+
)
|
180
180
|
',
|
181
181
|
' # via generic action
|
182
182
|
automatic_code_signing(
|
@@ -10,7 +10,11 @@ module Fastlane
|
|
10
10
|
UI.success("Collecting the last #{params[:commits_count]} Git commits")
|
11
11
|
else
|
12
12
|
if params[:between]
|
13
|
-
|
13
|
+
if params[:between].kind_of?(String) && params[:between].include?(",") # :between is string
|
14
|
+
from, to = params[:between].split(",", 2)
|
15
|
+
elsif params[:between].kind_of?(Array)
|
16
|
+
from, to = params[:between]
|
17
|
+
end
|
14
18
|
else
|
15
19
|
from = Actions.last_git_tag_name(params[:match_lightweight_tag], params[:tag_match_pattern])
|
16
20
|
UI.verbose("Found the last Git tag: #{from}")
|
@@ -74,9 +78,13 @@ module Fastlane
|
|
74
78
|
is_string: false,
|
75
79
|
conflicting_options: [:commits_count],
|
76
80
|
verify_block: proc do |value|
|
77
|
-
|
78
|
-
|
79
|
-
|
81
|
+
if value.kind_of?(String)
|
82
|
+
UI.user_error!(":between must contain comma") unless value.include?(',')
|
83
|
+
else
|
84
|
+
UI.user_error!(":between must be of type array") unless value.kind_of?(Array)
|
85
|
+
UI.user_error!(":between must not contain nil values") if value.any?(&:nil?)
|
86
|
+
UI.user_error!(":between must be an array of size 2") unless (value || []).size == 2
|
87
|
+
end
|
80
88
|
end),
|
81
89
|
FastlaneCore::ConfigItem.new(key: :commits_count,
|
82
90
|
env_name: 'FL_CHANGELOG_FROM_GIT_COMMITS_COUNT',
|
@@ -121,8 +129,9 @@ module Fastlane
|
|
121
129
|
default_value: true,
|
122
130
|
is_string: false),
|
123
131
|
FastlaneCore::ConfigItem.new(key: :include_merges,
|
132
|
+
deprecated: "Use `:merge_commit_filtering` instead",
|
124
133
|
env_name: 'FL_CHANGELOG_FROM_GIT_COMMITS_INCLUDE_MERGES',
|
125
|
-
description: "Whether or not to include any commits that are merges
|
134
|
+
description: "Whether or not to include any commits that are merges",
|
126
135
|
optional: true,
|
127
136
|
is_string: false,
|
128
137
|
type: Boolean,
|
@@ -131,7 +140,7 @@ module Fastlane
|
|
131
140
|
end),
|
132
141
|
FastlaneCore::ConfigItem.new(key: :merge_commit_filtering,
|
133
142
|
env_name: 'FL_CHANGELOG_FROM_GIT_COMMITS_MERGE_COMMIT_FILTERING',
|
134
|
-
description: "Controls inclusion of merge commits when collecting the changelog
|
143
|
+
description: "Controls inclusion of merge commits when collecting the changelog. Valid values: #{GIT_MERGE_COMMIT_FILTERING_OPTIONS.map { |o| "`:#{o}`" }.join(', ')}",
|
135
144
|
optional: true,
|
136
145
|
default_value: 'include_merges',
|
137
146
|
verify_block: proc do |value|
|
@@ -67,10 +67,10 @@ module Fastlane
|
|
67
67
|
end),
|
68
68
|
FastlaneCore::ConfigItem.new(key: :signing_identity,
|
69
69
|
env_name: "FL_RESIGN_SIGNING_IDENTITY",
|
70
|
-
description: "Code signing identity to use. e.g.
|
70
|
+
description: "Code signing identity to use. e.g. `iPhone Distribution: Luka Mirosevic (0123456789)`"),
|
71
71
|
FastlaneCore::ConfigItem.new(key: :entitlements,
|
72
72
|
env_name: "FL_RESIGN_ENTITLEMENTS",
|
73
|
-
description: "Path to the entitlement file to use, e.g.
|
73
|
+
description: "Path to the entitlement file to use, e.g. `myApp/MyApp.entitlements`",
|
74
74
|
conflicting_options: [:use_app_entitlements],
|
75
75
|
is_string: true,
|
76
76
|
optional: true),
|
@@ -92,7 +92,7 @@ module Fastlane
|
|
92
92
|
end),
|
93
93
|
FastlaneCore::ConfigItem.new(key: :version,
|
94
94
|
env_name: "FL_RESIGN_VERSION",
|
95
|
-
description: "Version number to force resigned ipa to use
|
95
|
+
description: "Version number to force resigned ipa to use. Updates both `CFBundleShortVersionString` and `CFBundleVersion` values in `Info.plist`. Applies for main app and all nested apps or extensions",
|
96
96
|
conflicting_options: [:short_version, :bundle_version],
|
97
97
|
is_string: true,
|
98
98
|
optional: true),
|
@@ -103,30 +103,30 @@ module Fastlane
|
|
103
103
|
optional: true),
|
104
104
|
FastlaneCore::ConfigItem.new(key: :short_version,
|
105
105
|
env_name: "FL_RESIGN_SHORT_VERSION",
|
106
|
-
description: "Short version string to force resigned ipa to use (CFBundleShortVersionString)",
|
106
|
+
description: "Short version string to force resigned ipa to use (`CFBundleShortVersionString`)",
|
107
107
|
conflicting_options: [:version],
|
108
108
|
is_string: true,
|
109
109
|
optional: true),
|
110
110
|
FastlaneCore::ConfigItem.new(key: :bundle_version,
|
111
111
|
env_name: "FL_RESIGN_BUNDLE_VERSION",
|
112
|
-
description: "Bundle version to force resigned ipa to use (CFBundleVersion)",
|
112
|
+
description: "Bundle version to force resigned ipa to use (`CFBundleVersion`)",
|
113
113
|
conflicting_options: [:version],
|
114
114
|
is_string: true,
|
115
115
|
optional: true),
|
116
116
|
FastlaneCore::ConfigItem.new(key: :bundle_id,
|
117
117
|
env_name: "FL_RESIGN_BUNDLE_ID",
|
118
|
-
description: "Set new bundle ID during resign (CFBundleIdentifier)",
|
118
|
+
description: "Set new bundle ID during resign (`CFBundleIdentifier`)",
|
119
119
|
is_string: true,
|
120
120
|
optional: true),
|
121
121
|
FastlaneCore::ConfigItem.new(key: :use_app_entitlements,
|
122
122
|
env_name: "FL_USE_APP_ENTITLEMENTS",
|
123
|
-
description: "Extract app bundle codesigning entitlements
|
123
|
+
description: "Extract app bundle codesigning entitlements and combine with entitlements from new provisionin profile",
|
124
124
|
conflicting_options: [:entitlements],
|
125
125
|
is_string: false,
|
126
126
|
optional: true),
|
127
127
|
FastlaneCore::ConfigItem.new(key: :keychain_path,
|
128
128
|
env_name: "FL_RESIGN_KEYCHAIN_PATH",
|
129
|
-
description: "Provide a path to a keychain file that should be used by
|
129
|
+
description: "Provide a path to a keychain file that should be used by `/usr/bin/codesign`",
|
130
130
|
is_string: true,
|
131
131
|
optional: true)
|
132
132
|
]
|
@@ -146,7 +146,7 @@ module Fastlane
|
|
146
146
|
default_value: false),
|
147
147
|
FastlaneCore::ConfigItem.new(key: :tools,
|
148
148
|
env_name: "FL_TOOLS_TO_UPDATE",
|
149
|
-
description: "Comma separated list of fastlane tools to update (e.g. fastlane,deliver,sigh)",
|
149
|
+
description: "Comma separated list of fastlane tools to update (e.g. `fastlane,deliver,sigh`)",
|
150
150
|
deprecated: true,
|
151
151
|
optional: true)
|
152
152
|
]
|
@@ -35,8 +35,8 @@ module Fastlane
|
|
35
35
|
UI.user_error!("Path is invalid") unless File.exist?(value)
|
36
36
|
end),
|
37
37
|
FastlaneCore::ConfigItem.new(key: :udid,
|
38
|
+
deprecated: "Use `:uuid` instead",
|
38
39
|
env_name: "FL_PROJECT_SIGNING_UDID",
|
39
|
-
description: "DEPRECATED: see :uuid",
|
40
40
|
code_gen_sensitive: true,
|
41
41
|
default_value: ENV["SIGH_UUID"],
|
42
42
|
default_value_dynamic: true),
|
@@ -58,7 +58,7 @@ module Fastlane
|
|
58
58
|
end
|
59
59
|
|
60
60
|
def self.example_code
|
61
|
-
|
61
|
+
nil
|
62
62
|
end
|
63
63
|
|
64
64
|
def self.category
|
@@ -34,16 +34,16 @@ module Fastlane
|
|
34
34
|
|
35
35
|
def self.example_code
|
36
36
|
[
|
37
|
-
'xctool
|
37
|
+
'xctool(:test)',
|
38
38
|
|
39
39
|
'# If you prefer to have the build configuration stored in the `Fastfile`:
|
40
|
-
xctool
|
40
|
+
xctool(:test, [
|
41
41
|
"--workspace", "\'AwesomeApp.xcworkspace\'",
|
42
42
|
"--scheme", "\'Schema Name\'",
|
43
43
|
"--configuration", "Debug",
|
44
44
|
"--sdk", "iphonesimulator",
|
45
45
|
"--arch", "i386"
|
46
|
-
].join(" ")'
|
46
|
+
].join(" "))'
|
47
47
|
]
|
48
48
|
end
|
49
49
|
|
@@ -200,7 +200,7 @@ module Fastlane
|
|
200
200
|
if options.kind_of?(Array)
|
201
201
|
options.each do |current|
|
202
202
|
if current.kind_of?(FastlaneCore::ConfigItem)
|
203
|
-
rows << [current.key.to_s.yellow, current.description, current.env_name, current.help_default_value]
|
203
|
+
rows << [current.key.to_s.yellow, current.deprecated ? current.description.red : current.description, current.env_name, current.help_default_value]
|
204
204
|
elsif current.kind_of?(Array)
|
205
205
|
# Legacy actions that don't use the new config manager
|
206
206
|
UI.user_error!("Invalid number of elements in this row: #{current}. Must be 2 or 3") unless [2, 3].include?(current.count)
|
@@ -131,8 +131,8 @@ module Fastlane
|
|
131
131
|
if action.superclass != Fastlane::Action
|
132
132
|
# This means, the current method is an alias
|
133
133
|
# meaning we're gonna look if the parent class
|
134
|
-
#
|
135
|
-
# e.g. `
|
134
|
+
# has a custom md file.
|
135
|
+
# e.g. `DeliverAction`'s superclass is `UploadToAppStoreAction`
|
136
136
|
@custom_content ||= load_custom_action_md(action.superclass)
|
137
137
|
end
|
138
138
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
module Fastlane
|
2
|
-
VERSION = '2.96.0.beta.
|
2
|
+
VERSION = '2.96.0.beta.20180517050058'.freeze
|
3
3
|
DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
|
4
4
|
MINIMUM_XCODE_RELEASE = "7.0".freeze
|
5
5
|
RUBOCOP_REQUIREMENT = '0.49.1'.freeze
|
@@ -83,7 +83,7 @@ module FastlaneCore
|
|
83
83
|
# @param optional (Boolean) is false by default. If set to true, also string values will not be asked to the user
|
84
84
|
# @param conflicting_options ([]) array of conflicting option keys(@param key). This allows to resolve conflicts intelligently
|
85
85
|
# @param conflict_block an optional block which is called when options conflict happens
|
86
|
-
# @param deprecated (String) Set if the option is deprecated. A deprecated option should be optional and is made optional if the parameter isn't set, and fails otherwise
|
86
|
+
# @param deprecated (Boolean|String) Set if the option is deprecated. A deprecated option should be optional and is made optional if the parameter isn't set, and fails otherwise
|
87
87
|
# @param sensitive (Boolean) Set if the variable is sensitive, such as a password or API token, to prevent echoing when prompted for the parameter
|
88
88
|
# @param display_in_shell (Boolean) Set if the variable can be used from shell
|
89
89
|
# rubocop:disable Metrics/ParameterLists
|
@@ -127,8 +127,9 @@ module FastlaneCore
|
|
127
127
|
# deprecated options are automatically optional
|
128
128
|
optional = true if optional.nil?
|
129
129
|
UI.crash!("Deprecated option must be optional") unless optional
|
130
|
+
|
130
131
|
# deprecated options are marked deprecated in their description
|
131
|
-
description =
|
132
|
+
description = deprecated_description(description, deprecated)
|
132
133
|
end
|
133
134
|
|
134
135
|
optional = false if optional.nil?
|
@@ -277,6 +278,21 @@ module FastlaneCore
|
|
277
278
|
[@key, @description].join(": ")
|
278
279
|
end
|
279
280
|
|
281
|
+
def deprecated_description(initial_description, deprecated)
|
282
|
+
has_description = !initial_description.to_s.empty?
|
283
|
+
|
284
|
+
description = "**DEPRECATED!**"
|
285
|
+
|
286
|
+
if deprecated.kind_of?(String)
|
287
|
+
description << " #{deprecated}"
|
288
|
+
description << " -" if has_description
|
289
|
+
end
|
290
|
+
|
291
|
+
description << " #{initial_description}" if has_description
|
292
|
+
|
293
|
+
description
|
294
|
+
end
|
295
|
+
|
280
296
|
def doc_default_value
|
281
297
|
return "[*](#parameters-legend-dynamic)" if self.default_value_dynamic
|
282
298
|
return "" if self.default_value.nil?
|
@@ -72,7 +72,7 @@ module FastlaneCore
|
|
72
72
|
# @return [boolean] true if building in a known CI environment
|
73
73
|
def self.ci?
|
74
74
|
# Check for Jenkins, Travis CI, ... environment variables
|
75
|
-
['JENKINS_HOME', 'JENKINS_URL', 'TRAVIS', 'CIRCLECI', 'CI', 'TEAMCITY_VERSION', 'GO_PIPELINE_NAME', 'bamboo_buildKey', 'GITLAB_CI', 'XCS'].each do |current|
|
75
|
+
['JENKINS_HOME', 'JENKINS_URL', 'TRAVIS', 'CIRCLECI', 'CI', 'APPCENTER_BUILD_ID', 'TEAMCITY_VERSION', 'GO_PIPELINE_NAME', 'bamboo_buildKey', 'GITLAB_CI', 'XCS'].each do |current|
|
76
76
|
return true if ENV.key?(current)
|
77
77
|
end
|
78
78
|
return false
|
data/pilot/lib/pilot/options.rb
CHANGED
@@ -179,7 +179,7 @@ module Pilot
|
|
179
179
|
FastlaneCore::ConfigItem.new(key: :groups,
|
180
180
|
short_option: "-g",
|
181
181
|
env_name: "PILOT_GROUPS",
|
182
|
-
description: "Associate tester to one group or more by group name / group id. E.g.
|
182
|
+
description: "Associate tester to one group or more by group name / group id. E.g. `-g \"Team 1\",\"Team 2\"`",
|
183
183
|
optional: true,
|
184
184
|
type: Array,
|
185
185
|
verify_block: proc do |value|
|
data/scan/lib/scan/options.rb
CHANGED
@@ -289,7 +289,7 @@ module Scan
|
|
289
289
|
FastlaneCore::ConfigItem.new(key: :custom_report_file_name,
|
290
290
|
env_name: "SCAN_CUSTOM_REPORT_FILE_NAME",
|
291
291
|
description: "Sets custom full report file name when generating a single report",
|
292
|
-
deprecated: "Use
|
292
|
+
deprecated: "Use `--output_files` instead",
|
293
293
|
conflicting_options: [:output_files],
|
294
294
|
optional: true,
|
295
295
|
is_string: true)
|
@@ -38,7 +38,7 @@ module Supply
|
|
38
38
|
env_name: "SUPPLY_KEY",
|
39
39
|
short_option: "-k",
|
40
40
|
conflicting_options: [:json_key],
|
41
|
-
deprecated: 'Use
|
41
|
+
deprecated: 'Use `--json_key` instead',
|
42
42
|
description: "The p12 File used to authenticate with Google",
|
43
43
|
code_gen_sensitive: true,
|
44
44
|
default_value: Dir["*.p12"].first || CredentialsManager::AppfileConfig.try_fetch_value(:keyfile),
|
@@ -50,7 +50,7 @@ module Supply
|
|
50
50
|
env_name: "SUPPLY_ISSUER",
|
51
51
|
short_option: "-i",
|
52
52
|
conflicting_options: [:json_key],
|
53
|
-
deprecated: 'Use
|
53
|
+
deprecated: 'Use `--json_key` instead',
|
54
54
|
description: "The issuer of the p12 file (email address of the service account)",
|
55
55
|
code_gen_sensitive: true,
|
56
56
|
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:issuer),
|
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.96.0.beta.
|
4
|
+
version: 2.96.0.beta.20180517050058
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefan Natchev
|
@@ -27,7 +27,7 @@ authors:
|
|
27
27
|
autorequire:
|
28
28
|
bindir: bin
|
29
29
|
cert_chain: []
|
30
|
-
date: 2018-05-
|
30
|
+
date: 2018-05-17 00:00:00.000000000 Z
|
31
31
|
dependencies:
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: slack-notifier
|
@@ -1651,24 +1651,24 @@ metadata:
|
|
1651
1651
|
post_install_message:
|
1652
1652
|
rdoc_options: []
|
1653
1653
|
require_paths:
|
1654
|
-
-
|
1655
|
-
-
|
1654
|
+
- fastlane/lib
|
1655
|
+
- frameit/lib
|
1656
1656
|
- credentials_manager/lib
|
1657
|
-
-
|
1657
|
+
- scan/lib
|
1658
|
+
- pilot/lib
|
1658
1659
|
- cert/lib
|
1660
|
+
- snapshot/lib
|
1659
1661
|
- deliver/lib
|
1660
|
-
-
|
1662
|
+
- precheck/lib
|
1663
|
+
- produce/lib
|
1661
1664
|
- gym/lib
|
1662
|
-
- frameit/lib
|
1663
1665
|
- pem/lib
|
1664
|
-
- snapshot/lib
|
1665
|
-
- spaceship/lib
|
1666
|
-
- pilot/lib
|
1667
|
-
- fastlane/lib
|
1668
1666
|
- sigh/lib
|
1667
|
+
- match/lib
|
1668
|
+
- spaceship/lib
|
1669
|
+
- fastlane_core/lib
|
1669
1670
|
- screengrab/lib
|
1670
|
-
-
|
1671
|
-
- scan/lib
|
1671
|
+
- supply/lib
|
1672
1672
|
required_ruby_version: !ruby/object:Gem::Requirement
|
1673
1673
|
requirements:
|
1674
1674
|
- - ">="
|