fastlane 1.37.0 → 1.38.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/assets/FastfileTemplate +0 -2
- data/lib/fastlane/actions/cert.rb +8 -12
- data/lib/fastlane/actions/import_certificate.rb +2 -4
- data/lib/fastlane/actions/install_xcode_plugin.rb +4 -2
- data/lib/fastlane/actions/s3.rb +1 -1
- data/lib/fastlane/actions/set_changelog.rb +1 -1
- data/lib/fastlane/actions/xcodebuild.rb +17 -1
- data/lib/fastlane/lane_manager.rb +1 -0
- data/lib/fastlane/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c47ecdba44d00f8be7eda0a4e7aa41e636d223d2
|
|
4
|
+
data.tar.gz: bb2ba8e26062882f4eab3cead9f71bb0be07b3e8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b1024f016eaee507a40d456512e1d18040d3458600ea8fdbb95789c18fe268f9c2d09bbdee1ad063923f6576aecb898d6e08108a0f6d4a726dde67998c10d2a6
|
|
7
|
+
data.tar.gz: 1558ef377c2eb85ef02ec6afe085802c554275ac1fd0b1a03740191143149ac256d01e3fe6130fc60e277868fdd6163b1ddc2fefb9576bc5513d9e401631dc6a
|
data/lib/assets/FastfileTemplate
CHANGED
|
@@ -39,7 +39,6 @@ platform :ios do
|
|
|
39
39
|
desc "Submit a new Beta Build to Apple TestFlight"
|
|
40
40
|
desc "This will also make sure the profile is up to date"
|
|
41
41
|
lane :beta do
|
|
42
|
-
snapshot
|
|
43
42
|
sigh
|
|
44
43
|
gym[[SCHEME]] # Build your app - more options available
|
|
45
44
|
pilot
|
|
@@ -51,7 +50,6 @@ platform :ios do
|
|
|
51
50
|
desc "Deploy a new version to the App Store"
|
|
52
51
|
lane :deploy do
|
|
53
52
|
snapshot
|
|
54
|
-
desc "** Full Markdown** Support: `code`"
|
|
55
53
|
sigh
|
|
56
54
|
gym[[SCHEME]] # Build your app - more options available
|
|
57
55
|
deliver(force: true)
|
|
@@ -14,21 +14,17 @@ module Fastlane
|
|
|
14
14
|
FastlaneCore::UpdateChecker.start_looking_for_update('cert') unless Helper.is_test?
|
|
15
15
|
|
|
16
16
|
begin
|
|
17
|
-
|
|
18
|
-
# This should be executed in the fastlane folder
|
|
17
|
+
Cert.config = params # we alread have the finished config
|
|
19
18
|
|
|
20
|
-
|
|
19
|
+
Cert::Runner.new.launch
|
|
20
|
+
cert_file_path = ENV["CER_FILE_PATH"]
|
|
21
|
+
certificate_id = ENV["CER_CERTIFICATE_ID"]
|
|
22
|
+
Actions.lane_context[SharedValues::CERT_FILE_PATH] = cert_file_path
|
|
23
|
+
Actions.lane_context[SharedValues::CERT_CERTIFICATE_ID] = certificate_id
|
|
21
24
|
|
|
22
|
-
|
|
23
|
-
cert_file_path = ENV["CER_FILE_PATH"]
|
|
24
|
-
certificate_id = ENV["CER_CERTIFICATE_ID"]
|
|
25
|
-
Actions.lane_context[SharedValues::CERT_FILE_PATH] = cert_file_path
|
|
26
|
-
Actions.lane_context[SharedValues::CERT_CERTIFICATE_ID] = certificate_id
|
|
25
|
+
Helper.log.info("Use signing certificate '#{certificate_id}' from now on!".green)
|
|
27
26
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
ENV["SIGH_CERTIFICATE_ID"] = certificate_id # for further use in the sigh action
|
|
31
|
-
end
|
|
27
|
+
ENV["SIGH_CERTIFICATE_ID"] = certificate_id # for further use in the sigh action
|
|
32
28
|
ensure
|
|
33
29
|
FastlaneCore::UpdateChecker.show_update_status('cert', Cert::VERSION)
|
|
34
30
|
end
|
|
@@ -9,7 +9,7 @@ module Fastlane
|
|
|
9
9
|
command << " -T /usr/bin/codesign"
|
|
10
10
|
command << " -T /usr/bin/security"
|
|
11
11
|
|
|
12
|
-
Fastlane::Actions.sh
|
|
12
|
+
Fastlane::Actions.sh(command, log: false)
|
|
13
13
|
end
|
|
14
14
|
|
|
15
15
|
def self.description
|
|
@@ -20,14 +20,12 @@ module Fastlane
|
|
|
20
20
|
[
|
|
21
21
|
FastlaneCore::ConfigItem.new(key: :keychain_name,
|
|
22
22
|
env_name: "KEYCHAIN_NAME",
|
|
23
|
-
description: "Keychain
|
|
23
|
+
description: "Keychain the items should be imported to",
|
|
24
24
|
optional: false),
|
|
25
25
|
FastlaneCore::ConfigItem.new(key: :certificate_path,
|
|
26
|
-
env_name: "",
|
|
27
26
|
description: "Path to certificate",
|
|
28
27
|
optional: false),
|
|
29
28
|
FastlaneCore::ConfigItem.new(key: :certificate_password,
|
|
30
|
-
env_name: "",
|
|
31
29
|
description: "Certificate password",
|
|
32
30
|
optional: true)
|
|
33
31
|
]
|
|
@@ -6,7 +6,8 @@ module Fastlane
|
|
|
6
6
|
sh "curl -Lso #{zip_path} #{params[:url]}"
|
|
7
7
|
Action.sh "unzip -qo '#{zip_path}' -d '#{ENV['HOME']}/Library/Application Support/Developer/Shared/Xcode/Plug-ins'"
|
|
8
8
|
|
|
9
|
-
Helper.log.info("Plugin #{File.basename(params[:url], '.zip')} installed successfully")
|
|
9
|
+
Helper.log.info("Plugin #{File.basename(params[:url], '.zip')} installed successfully".green)
|
|
10
|
+
Helper.log.info("Please restart Xcode to use the newly installed plugin")
|
|
10
11
|
end
|
|
11
12
|
|
|
12
13
|
#####################################################
|
|
@@ -23,7 +24,8 @@ module Fastlane
|
|
|
23
24
|
env_name: "FL_XCODE_PLUGIN_URL",
|
|
24
25
|
description: "URL for Xcode plugin ZIP file",
|
|
25
26
|
verify_block: proc do |value|
|
|
26
|
-
raise "No URL for InstallXcodePluginAction given, pass using `url: 'url'`".red
|
|
27
|
+
raise "No URL for InstallXcodePluginAction given, pass using `url: 'url'`".red if value.to_s.length == 0
|
|
28
|
+
raise "URL doesn't use HTTPS".red unless value.start_with?("https://")
|
|
27
29
|
end)
|
|
28
30
|
]
|
|
29
31
|
end
|
data/lib/fastlane/actions/s3.rb
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
# rubocop:disable Metrics/AbcSize
|
|
3
3
|
require 'fastlane/erb_template_helper'
|
|
4
4
|
require 'ostruct'
|
|
5
|
-
require 'shenzhen'
|
|
6
5
|
|
|
7
6
|
module Fastlane
|
|
8
7
|
module Actions
|
|
@@ -28,6 +27,7 @@ module Fastlane
|
|
|
28
27
|
|
|
29
28
|
class S3Action < Action
|
|
30
29
|
def self.run(config)
|
|
30
|
+
require 'shenzhen'
|
|
31
31
|
# Calling fetch on config so that default values will be used
|
|
32
32
|
params = {}
|
|
33
33
|
params[:ipa] = config[:ipa]
|
|
@@ -40,7 +40,8 @@ module Fastlane
|
|
|
40
40
|
skip_unavailable_actions: "-skipUnavailableActions",
|
|
41
41
|
target: "-target",
|
|
42
42
|
workspace: "-workspace",
|
|
43
|
-
xcconfig: "-xcconfig"
|
|
43
|
+
xcconfig: "-xcconfig",
|
|
44
|
+
enableCodeCoverage: "-enableCodeCoverage"
|
|
44
45
|
}
|
|
45
46
|
|
|
46
47
|
def self.is_supported?(platform)
|
|
@@ -268,6 +269,9 @@ module Fastlane
|
|
|
268
269
|
elsif k == :keychain && v.to_s.length > 0
|
|
269
270
|
# If keychain is specified, append as OTHER_CODE_SIGN_FLAGS
|
|
270
271
|
"OTHER_CODE_SIGN_FLAGS=\"--keychain #{v}\""
|
|
272
|
+
elsif k == :xcargs && v.to_s.length > 0
|
|
273
|
+
# Add more xcodebuild arguments
|
|
274
|
+
"#{v}"
|
|
271
275
|
end
|
|
272
276
|
end.compact.sort
|
|
273
277
|
end
|
|
@@ -299,6 +303,7 @@ module Fastlane
|
|
|
299
303
|
['workspace', 'The workspace to use'],
|
|
300
304
|
['scheme', 'The scheme to build'],
|
|
301
305
|
['build_settings', 'Hash of additional build information'],
|
|
306
|
+
['xcargs', 'Pass additional xcodebuild options'],
|
|
302
307
|
['output_style', 'Set the output format to one of: :standard (Colored UTF8 output, default), :basic (black & white ASCII output)'],
|
|
303
308
|
['buildlog_path', 'The path where the xcodebuild.log will be created, by default it is created in ~/Library/Logs/fastlane/xcbuild'],
|
|
304
309
|
['raw_buildlog', 'Set to true to see xcodebuild raw output. Default value is false'],
|
|
@@ -340,6 +345,7 @@ module Fastlane
|
|
|
340
345
|
['workspace', 'The workspace to use'],
|
|
341
346
|
['scheme', 'The scheme to build'],
|
|
342
347
|
['build_settings', 'Hash of additional build information'],
|
|
348
|
+
['xcargs', 'Pass additional xcodebuild options'],
|
|
343
349
|
['output_style', 'Set the output format to one of: :standard (Colored UTF8 output, default), :basic (black & white ASCII output)'],
|
|
344
350
|
['buildlog_path', 'The path where the xcodebuild.log will be created, by default it is created in ~/Library/Logs/fastlane/xcbuild'],
|
|
345
351
|
['raw_buildlog', 'Set to true to see xcodebuild raw output. Default value is false'],
|
|
@@ -374,6 +380,7 @@ module Fastlane
|
|
|
374
380
|
['workspace', 'The workspace to use'],
|
|
375
381
|
['scheme', 'The scheme to build'],
|
|
376
382
|
['build_settings', 'Hash of additional build information'],
|
|
383
|
+
['xcargs', 'Pass additional xcodebuild options'],
|
|
377
384
|
['output_style', 'Set the output format to one of: :standard (Colored UTF8 output, default), :basic (black & white ASCII output)'],
|
|
378
385
|
['buildlog_path', 'The path where the xcodebuild.log will be created, by default it is created in ~/Library/Logs/fastlane/xcbuild'],
|
|
379
386
|
['raw_buildlog', 'Set to true to see xcodebuild raw output. Default value is false'],
|
|
@@ -408,6 +415,7 @@ module Fastlane
|
|
|
408
415
|
['workspace', 'The workspace to use'],
|
|
409
416
|
['scheme', 'The scheme to build'],
|
|
410
417
|
['build_settings', 'Hash of additional build information'],
|
|
418
|
+
['xcargs', 'Pass additional xcodebuild options'],
|
|
411
419
|
['output_style', 'Set the output format to one of: :standard (Colored UTF8 output, default), :basic (black & white ASCII output)'],
|
|
412
420
|
['buildlog_path', 'The path where the xcodebuild.log will be created, by default it is created in ~/Library/Logs/fastlane/xcbuild'],
|
|
413
421
|
['raw_buildlog', 'Set to true to see xcodebuild raw output. Default value is false'],
|
|
@@ -438,6 +446,7 @@ module Fastlane
|
|
|
438
446
|
['workspace', 'The workspace to use'],
|
|
439
447
|
['scheme', 'The scheme to build'],
|
|
440
448
|
['build_settings', 'Hash of additional build information'],
|
|
449
|
+
['xcargs', 'Pass additional xcodebuild options'],
|
|
441
450
|
['output_style', 'Set the output format to one of: :standard (Colored UTF8 output, default), :basic (black & white ASCII output)'],
|
|
442
451
|
['buildlog_path', 'The path where the xcodebuild.log will be created, by default it is created in ~/Library/Logs/fastlane/xcbuild'],
|
|
443
452
|
['raw_buildlog', 'Set to true to see xcodebuild raw output. Default value is false'],
|
|
@@ -456,6 +465,11 @@ module Fastlane
|
|
|
456
465
|
params_hash = params || {}
|
|
457
466
|
params_hash[:build] = true
|
|
458
467
|
params_hash[:test] = true
|
|
468
|
+
|
|
469
|
+
if params.key? :enable_code_coverage
|
|
470
|
+
params[:enableCodeCoverage] = params[:enable_code_coverage] ? 'YES' : 'NO'
|
|
471
|
+
end
|
|
472
|
+
|
|
459
473
|
XcodebuildAction.run(params_hash)
|
|
460
474
|
end
|
|
461
475
|
|
|
@@ -470,8 +484,10 @@ module Fastlane
|
|
|
470
484
|
['workspace', 'The workspace to use'],
|
|
471
485
|
['scheme', 'The scheme to build'],
|
|
472
486
|
['build_settings', 'Hash of additional build information'],
|
|
487
|
+
['xcargs', 'Pass additional xcodebuild options'],
|
|
473
488
|
['destination', 'The simulator to use, e.g. "name=iPhone 5s,OS=8.1"'],
|
|
474
489
|
['destination_timeout', 'The timeout for connecting to the simulator, in seconds'],
|
|
490
|
+
['enable_code_coverage', 'Turn code coverage on or off when testing. eg. true|false. Requires Xcode 7+'],
|
|
475
491
|
['output_style', 'Set the output format to one of: :standard (Colored UTF8 output, default), :basic (black & white ASCII output)'],
|
|
476
492
|
['buildlog_path', 'The path where the xcodebuild.log will be created, by default it is created in ~/Library/Logs/fastlane/xcbuild'],
|
|
477
493
|
['raw_buildlog', 'Set to true to see xcodebuild raw output. Default value is false'],
|
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.38.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-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: krausefx-shenzhen
|
|
@@ -216,7 +216,7 @@ dependencies:
|
|
|
216
216
|
requirements:
|
|
217
217
|
- - ">="
|
|
218
218
|
- !ruby/object:Gem::Version
|
|
219
|
-
version: 0.13.
|
|
219
|
+
version: 0.13.1
|
|
220
220
|
- - "<"
|
|
221
221
|
- !ruby/object:Gem::Version
|
|
222
222
|
version: 1.0.0
|
|
@@ -226,7 +226,7 @@ dependencies:
|
|
|
226
226
|
requirements:
|
|
227
227
|
- - ">="
|
|
228
228
|
- !ruby/object:Gem::Version
|
|
229
|
-
version: 0.13.
|
|
229
|
+
version: 0.13.1
|
|
230
230
|
- - "<"
|
|
231
231
|
- !ruby/object:Gem::Version
|
|
232
232
|
version: 1.0.0
|
|
@@ -436,7 +436,7 @@ dependencies:
|
|
|
436
436
|
requirements:
|
|
437
437
|
- - ">="
|
|
438
438
|
- !ruby/object:Gem::Version
|
|
439
|
-
version: 0.2.
|
|
439
|
+
version: 0.2.1
|
|
440
440
|
- - "<"
|
|
441
441
|
- !ruby/object:Gem::Version
|
|
442
442
|
version: 1.0.0
|
|
@@ -446,7 +446,7 @@ dependencies:
|
|
|
446
446
|
requirements:
|
|
447
447
|
- - ">="
|
|
448
448
|
- !ruby/object:Gem::Version
|
|
449
|
-
version: 0.2.
|
|
449
|
+
version: 0.2.1
|
|
450
450
|
- - "<"
|
|
451
451
|
- !ruby/object:Gem::Version
|
|
452
452
|
version: 1.0.0
|
|
@@ -745,7 +745,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
745
745
|
version: '0'
|
|
746
746
|
requirements: []
|
|
747
747
|
rubyforge_project:
|
|
748
|
-
rubygems_version: 2.4.
|
|
748
|
+
rubygems_version: 2.4.0
|
|
749
749
|
signing_key:
|
|
750
750
|
specification_version: 4
|
|
751
751
|
summary: Connect all iOS deployment tools into one streamlined workflow
|