fastlane 1.41.1 → 1.42.0
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.
- checksums.yaml +4 -4
- data/lib/fastlane/actions/clear_derived_data.rb +1 -1
- data/lib/fastlane/actions/crashlytics.rb +1 -1
- data/lib/fastlane/actions/last_git_commit.rb +32 -0
- data/lib/fastlane/actions/register_devices.rb +4 -1
- data/lib/fastlane/actions/s3.rb +1 -1
- data/lib/fastlane/actions/set_changelog.rb +4 -1
- data/lib/fastlane/actions/update_fastlane.rb +1 -1
- data/lib/fastlane/actions/update_url_schemes.rb +63 -0
- data/lib/fastlane/actions/{verify_pods_keys.rb → verify_pod_keys.rb} +0 -0
- data/lib/fastlane/actions/xcode_install.rb +4 -1
- data/lib/fastlane/version.rb +1 -1
- metadata +22 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c03722df09da95510991ab9eea200d5d7c55e7b
|
4
|
+
data.tar.gz: 4e927ca836a174e46e5e458f31e46f9bd6bbdacc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6dac74d4c244047309f411deeabf2fe600bb059eea4fa5e07625c4e8573e777e31f3f5c690b6a80e19219d9ea66a9e4efe89e1315de07c6061e46cdaf8fde2b8
|
7
|
+
data.tar.gz: 0af452b64822bd790c9f4d48cb33c1d652f54f48c9e66ffc25a0f2611903cc67273a6d53b8d685f61fc23e3398691f925051971f53cac252333179ffe549cd6a
|
@@ -4,7 +4,7 @@ module Fastlane
|
|
4
4
|
def self.run(params)
|
5
5
|
path = File.expand_path("~/Library/Developer/Xcode/DerivedData")
|
6
6
|
FileUtils.rm_rf(path) if File.directory?(path)
|
7
|
-
Helper.log.info "Successfully
|
7
|
+
Helper.log.info "Successfully cleared Derived Data ♻️".green
|
8
8
|
end
|
9
9
|
|
10
10
|
#####################################################
|
@@ -27,7 +27,7 @@ module Fastlane
|
|
27
27
|
raise "You have to either pass an ipa or an apk file to the Crashlytics action".red
|
28
28
|
end
|
29
29
|
|
30
|
-
Helper.log.info 'Uploading the
|
30
|
+
Helper.log.info 'Uploading the build to Crashlytics Beta. Time for some ☕️.'.green
|
31
31
|
Helper.log.debug command.join(" ") if $verbose
|
32
32
|
Actions.sh command.join(" ")
|
33
33
|
|
@@ -0,0 +1,32 @@
|
|
1
|
+
module Fastlane
|
2
|
+
module Actions
|
3
|
+
class LastGitCommitAction < Action
|
4
|
+
def self.run(params)
|
5
|
+
message = sh "git log -1 --pretty=%B"
|
6
|
+
author = sh "git log -1 --pretty=%an"
|
7
|
+
|
8
|
+
{author: author, message: message}
|
9
|
+
end
|
10
|
+
|
11
|
+
#####################################################
|
12
|
+
# @!group Documentation
|
13
|
+
#####################################################
|
14
|
+
|
15
|
+
def self.description
|
16
|
+
"Return last git commit message and author"
|
17
|
+
end
|
18
|
+
|
19
|
+
def self.return_value
|
20
|
+
"Returns the following dict: {author: \"Author\", message: \"commit message\"}"
|
21
|
+
end
|
22
|
+
|
23
|
+
def self.author
|
24
|
+
"ngutman"
|
25
|
+
end
|
26
|
+
|
27
|
+
def self.is_supported?(platform)
|
28
|
+
true
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
@@ -55,6 +55,9 @@ module Fastlane
|
|
55
55
|
end
|
56
56
|
|
57
57
|
def self.available_options
|
58
|
+
user = CredentialsManager::AppfileConfig.try_fetch_value(:apple_dev_portal_id)
|
59
|
+
user ||= CredentialsManager::AppfileConfig.try_fetch_value(:apple_id)
|
60
|
+
|
58
61
|
[
|
59
62
|
FastlaneCore::ConfigItem.new(key: :devices,
|
60
63
|
env_name: "FL_REGISTER_DEVICES_DEVICES",
|
@@ -75,7 +78,7 @@ module Fastlane
|
|
75
78
|
FastlaneCore::ConfigItem.new(key: :username,
|
76
79
|
env_name: "DELIVER_USER",
|
77
80
|
description: "Optional: Your Apple ID",
|
78
|
-
default_value:
|
81
|
+
default_value: user)
|
79
82
|
]
|
80
83
|
end
|
81
84
|
|
data/lib/fastlane/actions/s3.rb
CHANGED
@@ -110,7 +110,7 @@ module Fastlane
|
|
110
110
|
bundle_id, bundle_version, title, full_version = get_ipa_info(ipa_file)
|
111
111
|
|
112
112
|
# Creating plist and html names
|
113
|
-
plist_file_name = "#{url_part}#{title}.plist"
|
113
|
+
plist_file_name = "#{url_part}#{title.delete(' ')}.plist"
|
114
114
|
plist_url = "https://#{s3_subdomain}.amazonaws.com/#{s3_bucket}/#{plist_file_name}"
|
115
115
|
|
116
116
|
html_file_name ||= "index.html"
|
@@ -74,6 +74,9 @@ module Fastlane
|
|
74
74
|
end
|
75
75
|
|
76
76
|
def self.available_options
|
77
|
+
user = CredentialsManager::AppfileConfig.try_fetch_value(:itunes_connect_id)
|
78
|
+
user ||= CredentialsManager::AppfileConfig.try_fetch_value(:apple_id)
|
79
|
+
|
77
80
|
[
|
78
81
|
FastlaneCore::ConfigItem.new(key: :app_identifier,
|
79
82
|
short_option: "-a",
|
@@ -84,7 +87,7 @@ module Fastlane
|
|
84
87
|
short_option: "-u",
|
85
88
|
env_name: "FASTLANE_USERNAME",
|
86
89
|
description: "Your Apple ID Username",
|
87
|
-
default_value:
|
90
|
+
default_value: user),
|
88
91
|
FastlaneCore::ConfigItem.new(key: :version,
|
89
92
|
env_name: "FL_SET_CHANGELOG_VERSION",
|
90
93
|
description: "The version number to create/update",
|
@@ -87,7 +87,7 @@ module Fastlane
|
|
87
87
|
Helper.log.info "Cleaning up old versions..."
|
88
88
|
cleaner.options[:args] = all_updated_tools.map(&:name)
|
89
89
|
cleaner.execute
|
90
|
-
Helper.log.info "fastlane.tools
|
90
|
+
Helper.log.info "fastlane.tools successfully updated! I will now restart myself... 😴"
|
91
91
|
|
92
92
|
# Set no_update to true so we don't try to update again
|
93
93
|
exec "FL_NO_UPDATE=true #{$PROGRAM_NAME} #{ARGV.join ' '}"
|
@@ -0,0 +1,63 @@
|
|
1
|
+
require 'plist'
|
2
|
+
|
3
|
+
module Fastlane
|
4
|
+
module Actions
|
5
|
+
class UpdateUrlSchemesAction < Action
|
6
|
+
def self.run(params)
|
7
|
+
path = params[:path]
|
8
|
+
url_schemes = params[:url_schemes]
|
9
|
+
|
10
|
+
hash = Plist.parse_xml(path)
|
11
|
+
hash['CFBundleURLTypes'].first['CFBundleURLSchemes'] = url_schemes
|
12
|
+
File.write(path, hash.to_plist)
|
13
|
+
end
|
14
|
+
|
15
|
+
def self.description
|
16
|
+
'Updates the URL schemes in the given Info.plist'
|
17
|
+
end
|
18
|
+
|
19
|
+
def self.available_options
|
20
|
+
[
|
21
|
+
FastlaneCore::ConfigItem.new(
|
22
|
+
key: :path,
|
23
|
+
env_name: 'FL_UPDATE_URL_SCHEMES_PATH',
|
24
|
+
description: 'The Plist file\'s path',
|
25
|
+
is_string: true,
|
26
|
+
optional: false,
|
27
|
+
verify_block: proc do |path|
|
28
|
+
raise "Could not find plist at path '#{path}'".red unless File.exist?(path)
|
29
|
+
end
|
30
|
+
),
|
31
|
+
|
32
|
+
FastlaneCore::ConfigItem.new(
|
33
|
+
key: :url_schemes,
|
34
|
+
env_name: "FL_UPDATE_URL_SCHEMES_SCHEMES",
|
35
|
+
description: 'The new URL schemes',
|
36
|
+
is_string: false,
|
37
|
+
optional: false,
|
38
|
+
verify_block: proc do |url_schemes|
|
39
|
+
string = "The URL schemes must be an array of strings, got '#{url_schemes}'.".red
|
40
|
+
raise string unless url_schemes.kind_of?(Array)
|
41
|
+
|
42
|
+
url_schemes.each do |url_scheme|
|
43
|
+
raise string unless url_scheme.kind_of?(String)
|
44
|
+
end
|
45
|
+
end
|
46
|
+
)
|
47
|
+
]
|
48
|
+
end
|
49
|
+
|
50
|
+
def self.output
|
51
|
+
[]
|
52
|
+
end
|
53
|
+
|
54
|
+
def self.authors
|
55
|
+
['kmikael']
|
56
|
+
end
|
57
|
+
|
58
|
+
def self.is_supported?(platform)
|
59
|
+
[:ios, :mac].include? platform
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
File without changes
|
@@ -40,6 +40,9 @@ module Fastlane
|
|
40
40
|
end
|
41
41
|
|
42
42
|
def self.available_options
|
43
|
+
user = CredentialsManager::AppfileConfig.try_fetch_value(:apple_dev_portal_id)
|
44
|
+
user ||= CredentialsManager::AppfileConfig.try_fetch_value(:apple_id)
|
45
|
+
|
43
46
|
[
|
44
47
|
FastlaneCore::ConfigItem.new(key: :version,
|
45
48
|
env_name: "FL_XCODE_VERSION",
|
@@ -50,7 +53,7 @@ module Fastlane
|
|
50
53
|
short_option: "-u",
|
51
54
|
env_name: "XCODE_INSTALL_USER",
|
52
55
|
description: "Your Apple ID Username",
|
53
|
-
default_value:
|
56
|
+
default_value: user),
|
54
57
|
FastlaneCore::ConfigItem.new(key: :team_id,
|
55
58
|
short_option: "-b",
|
56
59
|
env_name: "XCODE_INSTALL_TEAM_ID",
|
data/lib/fastlane/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.42.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: krausefx-shenzhen
|
@@ -148,7 +148,7 @@ dependencies:
|
|
148
148
|
requirements:
|
149
149
|
- - ">="
|
150
150
|
- !ruby/object:Gem::Version
|
151
|
-
version: 0.26.
|
151
|
+
version: 0.26.6
|
152
152
|
- - "<"
|
153
153
|
- !ruby/object:Gem::Version
|
154
154
|
version: 1.0.0
|
@@ -158,7 +158,7 @@ dependencies:
|
|
158
158
|
requirements:
|
159
159
|
- - ">="
|
160
160
|
- !ruby/object:Gem::Version
|
161
|
-
version: 0.26.
|
161
|
+
version: 0.26.6
|
162
162
|
- - "<"
|
163
163
|
- !ruby/object:Gem::Version
|
164
164
|
version: 1.0.0
|
@@ -168,7 +168,7 @@ dependencies:
|
|
168
168
|
requirements:
|
169
169
|
- - ">="
|
170
170
|
- !ruby/object:Gem::Version
|
171
|
-
version: 0.
|
171
|
+
version: 0.11.0
|
172
172
|
- - "<"
|
173
173
|
- !ruby/object:Gem::Version
|
174
174
|
version: 1.0.0
|
@@ -178,7 +178,7 @@ dependencies:
|
|
178
178
|
requirements:
|
179
179
|
- - ">="
|
180
180
|
- !ruby/object:Gem::Version
|
181
|
-
version: 0.
|
181
|
+
version: 0.11.0
|
182
182
|
- - "<"
|
183
183
|
- !ruby/object:Gem::Version
|
184
184
|
version: 1.0.0
|
@@ -228,7 +228,7 @@ dependencies:
|
|
228
228
|
requirements:
|
229
229
|
- - ">="
|
230
230
|
- !ruby/object:Gem::Version
|
231
|
-
version: 1.
|
231
|
+
version: 1.2.1
|
232
232
|
- - "<"
|
233
233
|
- !ruby/object:Gem::Version
|
234
234
|
version: 2.0.0
|
@@ -238,7 +238,7 @@ dependencies:
|
|
238
238
|
requirements:
|
239
239
|
- - ">="
|
240
240
|
- !ruby/object:Gem::Version
|
241
|
-
version: 1.
|
241
|
+
version: 1.2.1
|
242
242
|
- - "<"
|
243
243
|
- !ruby/object:Gem::Version
|
244
244
|
version: 2.0.0
|
@@ -248,7 +248,7 @@ dependencies:
|
|
248
248
|
requirements:
|
249
249
|
- - ">="
|
250
250
|
- !ruby/object:Gem::Version
|
251
|
-
version: 2.
|
251
|
+
version: 2.4.0
|
252
252
|
- - "<"
|
253
253
|
- !ruby/object:Gem::Version
|
254
254
|
version: 3.0.0
|
@@ -258,7 +258,7 @@ dependencies:
|
|
258
258
|
requirements:
|
259
259
|
- - ">="
|
260
260
|
- !ruby/object:Gem::Version
|
261
|
-
version: 2.
|
261
|
+
version: 2.4.0
|
262
262
|
- - "<"
|
263
263
|
- !ruby/object:Gem::Version
|
264
264
|
version: 3.0.0
|
@@ -328,7 +328,7 @@ dependencies:
|
|
328
328
|
requirements:
|
329
329
|
- - ">="
|
330
330
|
- !ruby/object:Gem::Version
|
331
|
-
version: 1.0.
|
331
|
+
version: 1.0.1
|
332
332
|
- - "<"
|
333
333
|
- !ruby/object:Gem::Version
|
334
334
|
version: 2.0.0
|
@@ -338,7 +338,7 @@ dependencies:
|
|
338
338
|
requirements:
|
339
339
|
- - ">="
|
340
340
|
- !ruby/object:Gem::Version
|
341
|
-
version: 1.0.
|
341
|
+
version: 1.0.1
|
342
342
|
- - "<"
|
343
343
|
- !ruby/object:Gem::Version
|
344
344
|
version: 2.0.0
|
@@ -348,7 +348,7 @@ dependencies:
|
|
348
348
|
requirements:
|
349
349
|
- - ">="
|
350
350
|
- !ruby/object:Gem::Version
|
351
|
-
version: 1.1.
|
351
|
+
version: 1.1.6
|
352
352
|
- - "<"
|
353
353
|
- !ruby/object:Gem::Version
|
354
354
|
version: 2.0.0
|
@@ -358,7 +358,7 @@ dependencies:
|
|
358
358
|
requirements:
|
359
359
|
- - ">="
|
360
360
|
- !ruby/object:Gem::Version
|
361
|
-
version: 1.1.
|
361
|
+
version: 1.1.6
|
362
362
|
- - "<"
|
363
363
|
- !ruby/object:Gem::Version
|
364
364
|
version: 2.0.0
|
@@ -388,7 +388,7 @@ dependencies:
|
|
388
388
|
requirements:
|
389
389
|
- - ">="
|
390
390
|
- !ruby/object:Gem::Version
|
391
|
-
version: 0.2.
|
391
|
+
version: 0.2.2
|
392
392
|
- - "<"
|
393
393
|
- !ruby/object:Gem::Version
|
394
394
|
version: 1.0.0
|
@@ -398,7 +398,7 @@ dependencies:
|
|
398
398
|
requirements:
|
399
399
|
- - ">="
|
400
400
|
- !ruby/object:Gem::Version
|
401
|
-
version: 0.2.
|
401
|
+
version: 0.2.2
|
402
402
|
- - "<"
|
403
403
|
- !ruby/object:Gem::Version
|
404
404
|
version: 1.0.0
|
@@ -408,7 +408,7 @@ dependencies:
|
|
408
408
|
requirements:
|
409
409
|
- - ">="
|
410
410
|
- !ruby/object:Gem::Version
|
411
|
-
version: 0.3.
|
411
|
+
version: 0.3.2
|
412
412
|
- - "<"
|
413
413
|
- !ruby/object:Gem::Version
|
414
414
|
version: 1.0.0
|
@@ -418,7 +418,7 @@ dependencies:
|
|
418
418
|
requirements:
|
419
419
|
- - ">="
|
420
420
|
- !ruby/object:Gem::Version
|
421
|
-
version: 0.3.
|
421
|
+
version: 0.3.2
|
422
422
|
- - "<"
|
423
423
|
- !ruby/object:Gem::Version
|
424
424
|
version: 1.0.0
|
@@ -619,6 +619,7 @@ files:
|
|
619
619
|
- lib/fastlane/actions/is_ci.rb
|
620
620
|
- lib/fastlane/actions/jazzy.rb
|
621
621
|
- lib/fastlane/actions/lane_context.rb
|
622
|
+
- lib/fastlane/actions/last_git_commit.rb
|
622
623
|
- lib/fastlane/actions/last_git_tag.rb
|
623
624
|
- lib/fastlane/actions/lcov.rb
|
624
625
|
- lib/fastlane/actions/mailgun.rb
|
@@ -666,7 +667,8 @@ files:
|
|
666
667
|
- lib/fastlane/actions/update_info_plist.rb
|
667
668
|
- lib/fastlane/actions/update_project_code_signing.rb
|
668
669
|
- lib/fastlane/actions/update_project_provisioning.rb
|
669
|
-
- lib/fastlane/actions/
|
670
|
+
- lib/fastlane/actions/update_url_schemes.rb
|
671
|
+
- lib/fastlane/actions/verify_pod_keys.rb
|
670
672
|
- lib/fastlane/actions/verify_xcode.rb
|
671
673
|
- lib/fastlane/actions/version_bump_podspec.rb
|
672
674
|
- lib/fastlane/actions/version_get_podspec.rb
|
@@ -723,7 +725,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
723
725
|
version: '0'
|
724
726
|
requirements: []
|
725
727
|
rubyforge_project:
|
726
|
-
rubygems_version: 2.4.
|
728
|
+
rubygems_version: 2.4.0
|
727
729
|
signing_key:
|
728
730
|
specification_version: 4
|
729
731
|
summary: Connect all iOS deployment tools into one streamlined workflow
|