fastlane 2.74.0.beta.20180107010004 → 2.74.0.beta.20180108010004
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/cert/lib/cert/commands_generator.rb +1 -1
- data/deliver/lib/deliver/commands_generator.rb +1 -1
- data/fastlane/lib/assets/Actions.md.erb +2 -0
- data/fastlane/lib/fastlane/actions/create_app_online.rb +2 -2
- data/fastlane/lib/fastlane/actions/frame_screenshots.rb +1 -1
- data/fastlane/lib/fastlane/actions/get_certificates.rb +1 -1
- data/fastlane/lib/fastlane/actions/get_provisioning_profile.rb +1 -1
- data/fastlane/lib/fastlane/actions/google_play_track_version_codes.rb +1 -1
- data/fastlane/lib/fastlane/actions/ipa.rb +1 -1
- data/fastlane/lib/fastlane/actions/lane_context.rb +12 -2
- data/fastlane/lib/fastlane/actions/modify_services.rb +1 -1
- data/fastlane/lib/fastlane/actions/run_tests.rb +1 -1
- data/fastlane/lib/fastlane/actions/slack.rb +11 -16
- data/fastlane/lib/fastlane/actions/spm.rb +95 -0
- data/fastlane/lib/fastlane/actions/sync_code_signing.rb +1 -1
- data/fastlane/lib/fastlane/actions/upload_to_play_store.rb +1 -1
- data/fastlane/lib/fastlane/actions/upload_to_testflight.rb +1 -1
- data/fastlane/lib/fastlane/actions/xcodebuild.rb +2 -2
- data/fastlane/lib/fastlane/actions/xctool.rb +1 -1
- data/fastlane/lib/fastlane/cli_tools_distributor.rb +20 -17
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/fastlane_core/lib/fastlane_core/helper.rb +13 -4
- data/frameit/lib/frameit/commands_generator.rb +1 -1
- data/gym/lib/gym/commands_generator.rb +1 -1
- data/gym/lib/gym/error_handler.rb +3 -3
- data/match/lib/match/commands_generator.rb +1 -1
- data/match/lib/match/generator.rb +1 -1
- data/match/lib/match/setup.rb +1 -1
- data/match/lib/match/spaceship_ensure.rb +3 -3
- data/pem/lib/pem/commands_generator.rb +1 -1
- data/pilot/lib/pilot/commands_generator.rb +1 -1
- data/precheck/lib/precheck/commands_generator.rb +1 -1
- data/produce/lib/produce/commands_generator.rb +1 -1
- data/scan/lib/scan/commands_generator.rb +1 -1
- data/screengrab/lib/screengrab/commands_generator.rb +1 -1
- data/sigh/lib/sigh/commands_generator.rb +1 -1
- data/snapshot/lib/assets/SnapshotHelper.swift +1 -1
- data/snapshot/lib/assets/SnapshotHelperXcode8.swift +1 -1
- data/snapshot/lib/snapshot/commands_generator.rb +1 -1
- data/snapshot/lib/snapshot/runner.rb +1 -1
- data/snapshot/lib/snapshot/setup.rb +1 -1
- data/supply/lib/supply/commands_generator.rb +1 -1
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f4aca9665579af1ee34950af672af9d969f4856
|
4
|
+
data.tar.gz: ea487a7c7486e3cc533b5bd747fb3ec42cd60130
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97c14f1bf20b499df89683c29f9bfb6895ffb8f6bc2ab93b4e1b8fd39f48f96f280310ae0091a59f092981252e02dd5a2e3d22ecea308af47d6c852cbdd96402
|
7
|
+
data.tar.gz: 3f445ad956048aa65895cf97d6489dd5b1a904dd7cc151a313d74bf04ebe88130747df13fd7412f7b6a27e4ec3838c3d3ee852a9d82e4f0eec7cf9b37da301e3
|
@@ -22,7 +22,7 @@ module Cert
|
|
22
22
|
program :description, 'CLI for \'cert\' - Create new iOS code signing certificates'
|
23
23
|
program :help, 'Author', 'Felix Krause <cert@krausefx.com>'
|
24
24
|
program :help, 'Website', 'https://fastlane.tools'
|
25
|
-
program :help, '
|
25
|
+
program :help, 'Documentation', 'https://docs.fastlane.tools/actions/cert/'
|
26
26
|
program :help_formatter, :compact
|
27
27
|
|
28
28
|
global_option('--verbose') { FastlaneCore::Globals.verbose = true }
|
@@ -46,7 +46,7 @@ module Deliver
|
|
46
46
|
program :description, Deliver::DESCRIPTION
|
47
47
|
program :help, 'Author', 'Felix Krause <deliver@krausefx.com>'
|
48
48
|
program :help, 'Website', 'https://fastlane.tools'
|
49
|
-
program :help, '
|
49
|
+
program :help, 'Documentation', 'https://docs.fastlane.tools/actions/deliver/'
|
50
50
|
program :help_formatter, :compact
|
51
51
|
|
52
52
|
global_option('--verbose') { FastlaneCore::Globals.verbose = true }
|
@@ -3,6 +3,8 @@ This file is auto-generated and will be re-generated every time the docs are upd
|
|
3
3
|
To modify it, go to its source at https://github.com/fastlane/fastlane.
|
4
4
|
-->
|
5
5
|
|
6
|
+
{!docs/setup-fastlane-header.md!}
|
7
|
+
|
6
8
|
# fastlane actions
|
7
9
|
|
8
10
|
This page contains a list of all built-in fastlane actions and their available options.
|
@@ -29,8 +29,8 @@ module Fastlane
|
|
29
29
|
[
|
30
30
|
'Create new apps on iTunes Connect and Apple Developer Portal via _produce_.',
|
31
31
|
'If the app already exists, `create_app_online` will not do anything.',
|
32
|
-
'For more information about produce, visit its
|
33
|
-
'https://
|
32
|
+
'For more information about produce, visit its documentation page:',
|
33
|
+
'https://docs.fastlane.tools/actions/produce/'
|
34
34
|
].join(' ')
|
35
35
|
end
|
36
36
|
|
@@ -20,7 +20,7 @@ module Fastlane
|
|
20
20
|
|
21
21
|
def self.details
|
22
22
|
[
|
23
|
-
"Uses [frameit](https://
|
23
|
+
"Uses [frameit](https://docs.fastlane.tools/actions/frameit/) to prepare perfect screenshots for the App Store, your website, QA",
|
24
24
|
"or emails. You can add background and titles to the framed screenshots as well."
|
25
25
|
].join("\n")
|
26
26
|
end
|
@@ -32,7 +32,7 @@ module Fastlane
|
|
32
32
|
|
33
33
|
def self.details
|
34
34
|
[
|
35
|
-
"**Important**: It is recommended to use [match](https://
|
35
|
+
"**Important**: It is recommended to use [match](https://docs.fastlane.tools/actions/match/) according to the [codesigning.guide](https://codesigning.guide) for generating and maintaining your certificates. Use _cert_ directly only if you want full control over what's going on and know more about codesigning.",
|
36
36
|
"Use this action to download the latest code signing identity"
|
37
37
|
].join("\n")
|
38
38
|
end
|
@@ -56,7 +56,7 @@ module Fastlane
|
|
56
56
|
end
|
57
57
|
|
58
58
|
def self.details
|
59
|
-
"**Note**: It is recommended to use [match](https://
|
59
|
+
"**Note**: It is recommended to use [match](https://docs.fastlane.tools/actions/match/) according to the [codesigning.guide](https://codesigning.guide) for generating and maintaining your provisioning profiles. Use _sigh_ directly only if you want full control over what's going on and know more about codesigning."
|
60
60
|
end
|
61
61
|
|
62
62
|
def self.available_options
|
@@ -78,7 +78,7 @@ module Fastlane
|
|
78
78
|
" => " + ex.to_s,
|
79
79
|
"A build error occurred. You are using legacy `shenzhen` for building",
|
80
80
|
"it is recommended to upgrade to _gym_: ",
|
81
|
-
"https://
|
81
|
+
"https://docs.fastlane.tools/actions/gym/",
|
82
82
|
core_command,
|
83
83
|
"-------------------------------------------------------"
|
84
84
|
].each do |txt|
|
@@ -10,7 +10,14 @@ module Fastlane
|
|
10
10
|
#####################################################
|
11
11
|
|
12
12
|
def self.description
|
13
|
-
"
|
13
|
+
"Access lane context values"
|
14
|
+
end
|
15
|
+
|
16
|
+
def self.details
|
17
|
+
[
|
18
|
+
"Access the fastlane lane context values",
|
19
|
+
"More information about how the lane context works: https://docs.fastlane.tools/advanced/#lane-context"
|
20
|
+
].join("\n")
|
14
21
|
end
|
15
22
|
|
16
23
|
def self.available_options
|
@@ -35,7 +42,10 @@ module Fastlane
|
|
35
42
|
end
|
36
43
|
|
37
44
|
def self.example_code
|
38
|
-
[
|
45
|
+
[
|
46
|
+
'lane_context[SharedValues::BUILD_NUMBER]',
|
47
|
+
'lane_context[SharedValues::IPA_OUTPUT_PATH]'
|
48
|
+
]
|
39
49
|
end
|
40
50
|
|
41
51
|
def self.category
|
@@ -22,34 +22,29 @@ module Fastlane
|
|
22
22
|
require 'slack-notifier'
|
23
23
|
|
24
24
|
options[:message] = self.trim_message(options[:message].to_s || '')
|
25
|
-
options[:message] = Slack::Notifier::
|
25
|
+
options[:message] = Slack::Notifier::LinkFormatter.format(options[:message])
|
26
26
|
|
27
|
-
|
28
|
-
channel = options[:channel]
|
29
|
-
channel = ('#' + notifier.channel) unless ['#', '@'].include?(channel[0]) # send message to channel by default
|
30
|
-
end
|
27
|
+
notifier = Slack::Notifier.new(options[:slack_url])
|
31
28
|
|
32
|
-
username = options[:use_webhook_configured_username_and_icon] ? nil : options[:username]
|
29
|
+
notifier.username = options[:use_webhook_configured_username_and_icon] ? nil : options[:username]
|
30
|
+
icon_url = options[:use_webhook_configured_username_and_icon] ? nil : options[:icon_url]
|
33
31
|
|
34
|
-
|
35
|
-
|
36
|
-
|
32
|
+
if options[:channel].to_s.length > 0
|
33
|
+
notifier.channel = options[:channel]
|
34
|
+
notifier.channel = ('#' + notifier.channel) unless ['#', '@'].include?(notifier.channel[0]) # send message to channel by default
|
37
35
|
end
|
38
36
|
|
39
|
-
icon_url = options[:use_webhook_configured_username_and_icon] ? nil : options[:icon_url]
|
40
|
-
|
41
37
|
slack_attachment = generate_slack_attachments(options)
|
42
38
|
|
43
39
|
return [notifier, slack_attachment] if Helper.is_test? # tests will verify the slack attachments and other properties
|
44
40
|
|
45
41
|
begin
|
46
|
-
|
47
|
-
|
48
|
-
|
42
|
+
result = notifier.ping '',
|
43
|
+
icon_url: icon_url,
|
44
|
+
attachments: [slack_attachment]
|
49
45
|
rescue => exception
|
50
46
|
UI.error("Exception: #{exception}")
|
51
47
|
ensure
|
52
|
-
result = results.first
|
53
48
|
if !result.nil? && result.code.to_i == 200
|
54
49
|
UI.success('Successfully sent Slack notification')
|
55
50
|
else
|
@@ -191,7 +186,7 @@ module Fastlane
|
|
191
186
|
slack_attachment[:fields] += options[:payload].map do |k, v|
|
192
187
|
{
|
193
188
|
title: k.to_s,
|
194
|
-
value: Slack::Notifier::
|
189
|
+
value: Slack::Notifier::LinkFormatter.format(v.to_s),
|
195
190
|
short: false
|
196
191
|
}
|
197
192
|
end
|
@@ -0,0 +1,95 @@
|
|
1
|
+
module Fastlane
|
2
|
+
module Actions
|
3
|
+
class SpmAction < Action
|
4
|
+
def self.run(params)
|
5
|
+
cmd = ["swift"]
|
6
|
+
|
7
|
+
cmd << (package_commands.include?(params[:command]) ? "package" : params[:command])
|
8
|
+
cmd << "--build-path #{params[:build_path]}" if params[:build_path]
|
9
|
+
cmd << "--package-path #{params[:package_path]}" if params[:package_path]
|
10
|
+
cmd << "--configuration #{params[:configuration]}" if params[:configuration]
|
11
|
+
cmd << "--verbose" if params[:verbose]
|
12
|
+
cmd << params[:command] if package_commands.include?(params[:command])
|
13
|
+
|
14
|
+
sh(cmd.join(" "))
|
15
|
+
end
|
16
|
+
|
17
|
+
#####################################################
|
18
|
+
# @!group Documentation
|
19
|
+
#####################################################
|
20
|
+
|
21
|
+
def self.description
|
22
|
+
"Runs Swift Package Manager on your project"
|
23
|
+
end
|
24
|
+
|
25
|
+
def self.available_options
|
26
|
+
[
|
27
|
+
FastlaneCore::ConfigItem.new(key: :command,
|
28
|
+
env_name: "FL_SPM_COMMAND",
|
29
|
+
description: "The swift command (one of: #{available_commands.join(', ')})",
|
30
|
+
default_value: "build",
|
31
|
+
verify_block: proc do |value|
|
32
|
+
UI.user_error!("Please pass a valid command. Use one of the following: #{available_commands.join(', ')}") unless available_commands.include? value
|
33
|
+
end),
|
34
|
+
FastlaneCore::ConfigItem.new(key: :build_path,
|
35
|
+
env_name: "FL_SPM_BUILD_PATH",
|
36
|
+
description: "Specify build/cache directory [default: ./.build]",
|
37
|
+
optional: true),
|
38
|
+
FastlaneCore::ConfigItem.new(key: :package_path,
|
39
|
+
env_name: "FL_SPM_PACKAGE_PATH",
|
40
|
+
description: "Change working directory before any other operation",
|
41
|
+
optional: true),
|
42
|
+
FastlaneCore::ConfigItem.new(key: :configuration,
|
43
|
+
short_option: "-c",
|
44
|
+
env_name: "FL_SPM_CONFIGURATION",
|
45
|
+
description: "Build with configuration (debug|release) [default: debug]",
|
46
|
+
optional: true,
|
47
|
+
verify_block: proc do |value|
|
48
|
+
UI.user_error!("Please pass a valid configuration: (debug|release)") unless valid_configurations.include? value
|
49
|
+
end),
|
50
|
+
FastlaneCore::ConfigItem.new(key: :verbose,
|
51
|
+
short_option: "-v",
|
52
|
+
env_name: "FL_SPM_VERBOSE",
|
53
|
+
description: "Increase verbosity of informational output",
|
54
|
+
is_string: false,
|
55
|
+
default_value: false)
|
56
|
+
]
|
57
|
+
end
|
58
|
+
|
59
|
+
def self.authors
|
60
|
+
["Flávio Caetano (@fjcaetano)"]
|
61
|
+
end
|
62
|
+
|
63
|
+
def self.is_supported?(platform)
|
64
|
+
true
|
65
|
+
end
|
66
|
+
|
67
|
+
def self.example_code
|
68
|
+
[
|
69
|
+
'spm',
|
70
|
+
'spm(
|
71
|
+
command: "build",
|
72
|
+
build_path: "./build",
|
73
|
+
configuration: "release"
|
74
|
+
)'
|
75
|
+
]
|
76
|
+
end
|
77
|
+
|
78
|
+
def self.category
|
79
|
+
:building
|
80
|
+
end
|
81
|
+
|
82
|
+
def self.available_commands
|
83
|
+
%w(build test) + self.package_commands
|
84
|
+
end
|
85
|
+
|
86
|
+
def self.package_commands
|
87
|
+
%w(clean reset update)
|
88
|
+
end
|
89
|
+
|
90
|
+
def self.valid_configurations
|
91
|
+
%w(debug release)
|
92
|
+
end
|
93
|
+
end
|
94
|
+
end
|
95
|
+
end
|
@@ -26,7 +26,7 @@ module Fastlane
|
|
26
26
|
|
27
27
|
def self.details
|
28
28
|
[
|
29
|
-
"More details can be found on https://
|
29
|
+
"More details can be found on https://docs.fastlane.tools/actions/pilot/",
|
30
30
|
"This integration will only do the TestFlight upload"
|
31
31
|
].join("\n")
|
32
32
|
end
|
@@ -382,7 +382,7 @@ module Fastlane
|
|
382
382
|
end
|
383
383
|
|
384
384
|
def self.details
|
385
|
-
"**Note**: `xcodebuild` is a complex command, so it is recommended to use [gym](https://
|
385
|
+
"**Note**: `xcodebuild` is a complex command, so it is recommended to use [gym](https://docs.fastlane.tools/actions/gym/) for building your ipa file and [scan](https://docs.fastlane.tools/actions/scan/) for testing your app instead."
|
386
386
|
end
|
387
387
|
|
388
388
|
def self.author
|
@@ -575,7 +575,7 @@ module Fastlane
|
|
575
575
|
|
576
576
|
class XctestAction < Action
|
577
577
|
def self.run(params)
|
578
|
-
UI.important("Have you seen the new 'scan' tool to run tests? https://
|
578
|
+
UI.important("Have you seen the new 'scan' tool to run tests? https://docs.fastlane.tools/actions/scan/")
|
579
579
|
params_hash = params || {}
|
580
580
|
params_hash[:build] = true
|
581
581
|
params_hash[:test] = true
|
@@ -2,7 +2,7 @@ module Fastlane
|
|
2
2
|
module Actions
|
3
3
|
class XctoolAction < Action
|
4
4
|
def self.run(params)
|
5
|
-
UI.important("Have you seen the new 'scan' tool to run tests? https://
|
5
|
+
UI.important("Have you seen the new 'scan' tool to run tests? https://docs.fastlane.tools/actions/scan/")
|
6
6
|
unless Helper.test?
|
7
7
|
UI.user_error!("xctool not installed, please install using `brew install xctool`") if `which xctool`.length == 0
|
8
8
|
end
|
@@ -15,24 +15,27 @@ module Fastlane
|
|
15
15
|
def take_off
|
16
16
|
before_import_time = Time.now
|
17
17
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
require_fastlane_spinner.success
|
18
|
+
if !ENV["FASTLANE_DISABLE_ANIMATION"]
|
19
|
+
# Usually in the fastlane code base we use
|
20
|
+
#
|
21
|
+
# Helper.show_loading_indicator
|
22
|
+
# longer_taking_task_here
|
23
|
+
# Helper.hide_loading_indicator
|
24
|
+
#
|
25
|
+
# but in this case we haven't required FastlaneCore yet
|
26
|
+
# so we'll have to access the raw API for now
|
27
|
+
require "tty-spinner"
|
28
|
+
require_fastlane_spinner = TTY::Spinner.new("[:spinner] 🚀 ", format: :dots)
|
29
|
+
require_fastlane_spinner.auto_spin
|
30
|
+
|
31
|
+
# this might take a long time if there is no Gemfile :(
|
32
|
+
# That's why we show the loading indicator here also
|
33
|
+
require "fastlane"
|
35
34
|
|
35
|
+
require_fastlane_spinner.success
|
36
|
+
else
|
37
|
+
require "fastlane"
|
38
|
+
end
|
36
39
|
# We want to avoid printing output other than the version number if we are running `fastlane -v`
|
37
40
|
unless running_version_command?
|
38
41
|
print_bundle_exec_warning(is_slow: (Time.now - before_import_time > 3))
|
@@ -1,5 +1,5 @@
|
|
1
1
|
module Fastlane
|
2
|
-
VERSION = '2.74.0.beta.
|
2
|
+
VERSION = '2.74.0.beta.20180108010004'.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
|
@@ -278,13 +278,22 @@ module FastlaneCore
|
|
278
278
|
end
|
279
279
|
|
280
280
|
# Show/Hide loading indicator
|
281
|
-
def self.show_loading_indicator(text =
|
282
|
-
|
283
|
-
|
281
|
+
def self.show_loading_indicator(text = nil)
|
282
|
+
if FastlaneCore::Env.truthy?("FASTLANE_DISABLE_ANIMATION")
|
283
|
+
UI.message(text) if text
|
284
|
+
else
|
285
|
+
# we set the default here, instead of at the parameters
|
286
|
+
# as we don't want to `UI.message` a rocket that's just there for the loading indicator
|
287
|
+
text ||= "🚀"
|
288
|
+
@require_fastlane_spinner = TTY::Spinner.new("[:spinner] #{text} ", format: :dots)
|
289
|
+
@require_fastlane_spinner.auto_spin
|
290
|
+
end
|
284
291
|
end
|
285
292
|
|
286
293
|
def self.hide_loading_indicator
|
287
|
-
@require_fastlane_spinner
|
294
|
+
if !FastlaneCore::Env.truthy?("FASTLANE_DISABLE_ANIMATION") && @require_fastlane_spinner
|
295
|
+
@require_fastlane_spinner.success
|
296
|
+
end
|
288
297
|
end
|
289
298
|
end
|
290
299
|
end
|
@@ -25,7 +25,7 @@ module Frameit
|
|
25
25
|
program :description, 'Quickly put your screenshots into the right device frames'
|
26
26
|
program :help, 'Author', 'Felix Krause <frameit@krausefx.com>'
|
27
27
|
program :help, 'Website', 'https://fastlane.tools'
|
28
|
-
program :help, '
|
28
|
+
program :help, 'Documentation', 'https://docs.fastlane.tools/actions/frameit/'
|
29
29
|
program :help_formatter, :compact
|
30
30
|
|
31
31
|
global_option('--verbose') { FastlaneCore::Globals.verbose = true }
|
@@ -27,7 +27,7 @@ module Gym
|
|
27
27
|
program :description, Gym::DESCRIPTION
|
28
28
|
program :help, "Author", "Felix Krause <gym@krausefx.com>"
|
29
29
|
program :help, "Website", "https://fastlane.tools"
|
30
|
-
program :help, "
|
30
|
+
program :help, "Documentation", "https://docs.fastlane.tools/actions/gym/"
|
31
31
|
program :help_formatter, :compact
|
32
32
|
|
33
33
|
global_option("--verbose") { FastlaneCore::Globals.verbose = true }
|
@@ -15,7 +15,7 @@ module Gym
|
|
15
15
|
when /Your build settings specify a provisioning profile with the UUID/
|
16
16
|
print "Invalid code signing settings"
|
17
17
|
print "Your project defines a provisioning profile which doesn't exist on your local machine"
|
18
|
-
print "You can use sigh (https://
|
18
|
+
print "You can use sigh (https://docs.fastlane.tools/actions/sigh/) to download and install the provisioning profile"
|
19
19
|
print "Follow this guide: https://docs.fastlane.tools/codesigning/GettingStarted/"
|
20
20
|
when /Provisioning profile does not match bundle identifier/
|
21
21
|
print "Invalid code signing settings"
|
@@ -26,12 +26,12 @@ module Gym
|
|
26
26
|
when /provisioning profiles matching the bundle identifier .(.*)./ # the . around the (.*) are for the strange "
|
27
27
|
print "You don't have the provisioning profile for '#{$1}' installed on the local machine"
|
28
28
|
print "Make sure you have the profile on this computer and it's properly installed"
|
29
|
-
print "You can use sigh (https://
|
29
|
+
print "You can use sigh (https://docs.fastlane.tools/actions/sigh/) to download and install the provisioning profile"
|
30
30
|
print "Follow this guide: https://docs.fastlane.tools/codesigning/GettingStarted/"
|
31
31
|
when /matching the bundle identifier .(.*). were found/ # the . around the (.*) are for the strange "
|
32
32
|
print "You don't have a provisioning profile for the bundle identifier '#{$1}' installed on the local machine"
|
33
33
|
print "Make sure you have the profile on this computer and it's properly installed"
|
34
|
-
print "You can use sigh (https://
|
34
|
+
print "You can use sigh (https://docs.fastlane.tools/actions/sigh/) to download and install the provisioning profile"
|
35
35
|
print "Follow this guide: https://docs.fastlane.tools/codesigning/GettingStarted/"
|
36
36
|
|
37
37
|
# Insert more code signing specific errors here
|
@@ -25,7 +25,7 @@ module Match
|
|
25
25
|
program :description, Match::DESCRIPTION
|
26
26
|
program :help, 'Author', 'Felix Krause <match@krausefx.com>'
|
27
27
|
program :help, 'Website', 'https://fastlane.tools'
|
28
|
-
program :help, '
|
28
|
+
program :help, 'Documentation', 'https://docs.fastlane.tools/actions/match/'
|
29
29
|
program :help_formatter, :compact
|
30
30
|
|
31
31
|
global_option('--verbose') { FastlaneCore::Globals.verbose = true }
|
@@ -25,7 +25,7 @@ module Match
|
|
25
25
|
cert_path = Cert::Runner.new.launch
|
26
26
|
rescue => ex
|
27
27
|
if ex.to_s.include?("You already have a current")
|
28
|
-
UI.user_error!("Could not create a new certificate as you reached the maximum number of certificates for this account. You can use the `fastlane match nuke` command to revoke your existing certificates. More information https://
|
28
|
+
UI.user_error!("Could not create a new certificate as you reached the maximum number of certificates for this account. You can use the `fastlane match nuke` command to revoke your existing certificates. More information https://docs.fastlane.tools/actions/match/")
|
29
29
|
else
|
30
30
|
raise ex
|
31
31
|
end
|
data/match/lib/match/setup.rb
CHANGED
@@ -20,7 +20,7 @@ module Match
|
|
20
20
|
UI.important "You can now run `fastlane match development`, `fastlane match adhoc`, `fastlane match enterprise` and `fastlane match appstore`"
|
21
21
|
UI.message "On the first run for each environment it will create the provisioning profiles and"
|
22
22
|
UI.message "certificates for you. From then on, it will automatically import the existing profiles."
|
23
|
-
UI.message "For more information visit https://
|
23
|
+
UI.message "For more information visit https://docs.fastlane.tools/actions/match/"
|
24
24
|
end
|
25
25
|
end
|
26
26
|
end
|
@@ -15,7 +15,7 @@ module Match
|
|
15
15
|
UI.important("You can also run `fastlane match` in readonly mode to not require any access to the")
|
16
16
|
UI.important("Developer Portal. This way you only share the keys and credentials")
|
17
17
|
UI.command("fastlane match --readonly")
|
18
|
-
UI.important("More information https://
|
18
|
+
UI.important("More information https://docs.fastlane.tools/actions/match/#access-control")
|
19
19
|
end
|
20
20
|
|
21
21
|
UI.message("Verifying that the certificate and profile are still valid on the Dev Portal...")
|
@@ -50,7 +50,7 @@ module Match
|
|
50
50
|
UI.error("for the user #{username}")
|
51
51
|
UI.error("Make sure to use the same user and team every time you run 'match' for this")
|
52
52
|
UI.error("Git repository. This might be caused by revoking the certificate on the Dev Portal")
|
53
|
-
UI.user_error!("To reset the certificates of your Apple account, you can use the `fastlane match nuke` feature, more information on https://
|
53
|
+
UI.user_error!("To reset the certificates of your Apple account, you can use the `fastlane match nuke` feature, more information on https://docs.fastlane.tools/actions/match/")
|
54
54
|
end
|
55
55
|
|
56
56
|
def profile_exists(username: nil, uuid: nil)
|
@@ -63,7 +63,7 @@ module Match
|
|
63
63
|
UI.error("for the user #{username}")
|
64
64
|
UI.error("Make sure to use the same user and team every time you run 'match' for this")
|
65
65
|
UI.error("Git repository. This might be caused by deleting the provisioning profile on the Dev Portal")
|
66
|
-
UI.user_error!("To reset the provisioning profiles of your Apple account, you can use the `fastlane match nuke` feature, more information on https://
|
66
|
+
UI.user_error!("To reset the provisioning profiles of your Apple account, you can use the `fastlane match nuke` feature, more information on https://docs.fastlane.tools/actions/match/")
|
67
67
|
end
|
68
68
|
|
69
69
|
if found.valid?
|
@@ -21,7 +21,7 @@ module PEM
|
|
21
21
|
program :description, 'CLI for \'PEM\' - Automatically generate and renew your push notification profiles'
|
22
22
|
program :help, 'Author', 'Felix Krause <pem@krausefx.com>'
|
23
23
|
program :help, 'Website', 'https://fastlane.tools'
|
24
|
-
program :help, '
|
24
|
+
program :help, 'Documentation', 'https://docs.fastlane.tools/actions/pem/'
|
25
25
|
program :help_formatter, :compact
|
26
26
|
|
27
27
|
global_option('--verbose') { FastlaneCore::Globals.verbose = true }
|
@@ -50,7 +50,7 @@ module Pilot
|
|
50
50
|
program :description, Pilot::DESCRIPTION
|
51
51
|
program :help, "Author", "Felix Krause <pilot@krausefx.com>"
|
52
52
|
program :help, "Website", "https://fastlane.tools"
|
53
|
-
program :help, "
|
53
|
+
program :help, "Documentation", "https://docs.fastlane.tools/actions/pilot/"
|
54
54
|
program :help_formatter, :compact
|
55
55
|
|
56
56
|
global_option("--verbose") { FastlaneCore::Globals.verbose = true }
|
@@ -25,7 +25,7 @@ module Precheck
|
|
25
25
|
program :description, Precheck::DESCRIPTION
|
26
26
|
program :help, "Author", "Joshua Liebowitz <taquitos@gmail.com>, @taquitos"
|
27
27
|
program :help, "Website", "https://fastlane.tools"
|
28
|
-
program :help, "
|
28
|
+
program :help, "Documentation", "https://docs.fastlane.tools/actions/precheck/"
|
29
29
|
program :help_formatter, :compact
|
30
30
|
|
31
31
|
global_option("--verbose") { FastlaneCore::Globals.verbose = true }
|
@@ -22,7 +22,7 @@ module Produce
|
|
22
22
|
program :description, 'CLI for \'produce\''
|
23
23
|
program :help, 'Author', 'Felix Krause <produce@krausefx.com>'
|
24
24
|
program :help, 'Website', 'https://fastlane.tools'
|
25
|
-
program :help, '
|
25
|
+
program :help, 'Documentation', 'https://docs.fastlane.tools/actions/produce/'
|
26
26
|
program :help_formatter, :compact
|
27
27
|
|
28
28
|
global_option('--verbose') { FastlaneCore::Globals.verbose = true }
|
@@ -27,7 +27,7 @@ module Scan
|
|
27
27
|
program :description, Scan::DESCRIPTION
|
28
28
|
program :help, "Author", "Felix Krause <scan@krausefx.com>"
|
29
29
|
program :help, "Website", "https://fastlane.tools"
|
30
|
-
program :help, "
|
30
|
+
program :help, "Documentation", "https://docs.fastlane.tools/actions/scan/"
|
31
31
|
program :help_formatter, :compact
|
32
32
|
|
33
33
|
global_option("--verbose") { FastlaneCore::Globals.verbose = true }
|
@@ -25,7 +25,7 @@ module Screengrab
|
|
25
25
|
program :description, 'CLI for \'screengrab\' - Automate taking localized screenshots of your Android app on emulators or real devices'
|
26
26
|
program :help, 'Authors', 'Andrea Falcone <asfalcone@google.com>, Michael Furtak <mfurtak@google.com>'
|
27
27
|
program :help, 'Website', 'https://fastlane.tools'
|
28
|
-
program :help, '
|
28
|
+
program :help, 'Documentation', 'https://docs.fastlane.tools/actions/screengrab/'
|
29
29
|
program :help_formatter, :compact
|
30
30
|
|
31
31
|
global_option('--verbose', 'Shows a more verbose output') { FastlaneCore::Globals.verbose = true }
|
@@ -22,7 +22,7 @@ module Sigh
|
|
22
22
|
program :description, 'CLI for \'sigh\' - Because you would rather spend your time building stuff than fighting provisioning'
|
23
23
|
program :help, 'Author', 'Felix Krause <sigh@krausefx.com>'
|
24
24
|
program :help, 'Website', 'https://fastlane.tools'
|
25
|
-
program :help, '
|
25
|
+
program :help, 'Documentation', 'https://docs.fastlane.tools/actions/sigh/'
|
26
26
|
program :help_formatter, :compact
|
27
27
|
|
28
28
|
global_option('--verbose') { FastlaneCore::Globals.verbose = true }
|
@@ -128,7 +128,7 @@ open class Snapshot: NSObject {
|
|
128
128
|
waitForLoadingIndicatorToDisappear(within: timeout)
|
129
129
|
}
|
130
130
|
|
131
|
-
print("snapshot: \(name)") // more information about this, check out https://
|
131
|
+
print("snapshot: \(name)") // more information about this, check out https://docs.fastlane.tools/actions/snapshot/#how-does-it-work
|
132
132
|
|
133
133
|
sleep(1) // Waiting for the animation to be finished (kind of)
|
134
134
|
|
@@ -101,7 +101,7 @@ open class Snapshot: NSObject {
|
|
101
101
|
waitForLoadingIndicatorToDisappear()
|
102
102
|
}
|
103
103
|
|
104
|
-
print("snapshot: \(name)") // more information about this, check out https://
|
104
|
+
print("snapshot: \(name)") // more information about this, check out https://docs.fastlane.tools/actions/snapshot/#how-does-it-work
|
105
105
|
|
106
106
|
sleep(1) // Waiting for the animation to be finished (kind of)
|
107
107
|
|
@@ -20,7 +20,7 @@ module Snapshot
|
|
20
20
|
program :description, 'CLI for \'snapshot\' - Automate taking localized screenshots of your iOS app on every device'
|
21
21
|
program :help, 'Author', 'Felix Krause <snapshot@krausefx.com>'
|
22
22
|
program :help, 'Website', 'https://fastlane.tools'
|
23
|
-
program :help, '
|
23
|
+
program :help, 'Documentation', 'https://docs.fastlane.tools/actions/snapshot/'
|
24
24
|
program :help_formatter, :compact
|
25
25
|
|
26
26
|
global_option('--verbose', 'Shows a more verbose output') { FastlaneCore::Globals.verbose = true }
|
@@ -20,7 +20,7 @@ module Snapshot
|
|
20
20
|
UI.error "Found old snapshot configuration file 'snapshot.js'"
|
21
21
|
UI.error "You updated to snapshot 1.0 which now uses UI Automation"
|
22
22
|
UI.error "Please follow the migration guide: https://github.com/fastlane/fastlane/blob/master/snapshot/MigrationGuide.md"
|
23
|
-
UI.error "And read the updated documentation: https://
|
23
|
+
UI.error "And read the updated documentation: https://docs.fastlane.tools/actions/snapshot/"
|
24
24
|
sleep 3 # to be sure the user sees this, as compiling clears the screen
|
25
25
|
end
|
26
26
|
|
@@ -41,7 +41,7 @@ module Snapshot
|
|
41
41
|
puts ""
|
42
42
|
puts "4) Add `snapshot(\"0Launch\")` to wherever you want to create the screenshots".yellow
|
43
43
|
puts ""
|
44
|
-
puts "More information
|
44
|
+
puts "More information: https://docs.fastlane.tools/actions/snapshot/".green
|
45
45
|
end
|
46
46
|
end
|
47
47
|
end
|
@@ -18,7 +18,7 @@ module Supply
|
|
18
18
|
program :description, Supply::DESCRIPTION
|
19
19
|
program :help, 'Author', 'Felix Krause <supply@krausefx.com>'
|
20
20
|
program :help, 'Website', 'https://fastlane.tools'
|
21
|
-
program :help, '
|
21
|
+
program :help, 'Documentation', 'https://docs.fastlane.tools/actions/supply/'
|
22
22
|
program :help_formatter, :compact
|
23
23
|
|
24
24
|
always_trace!
|
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.74.0.beta.
|
4
|
+
version: 2.74.0.beta.20180108010004
|
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: 2018-01-
|
18
|
+
date: 2018-01-08 00:00:00.000000000 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: slack-notifier
|
@@ -23,20 +23,20 @@ dependencies:
|
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: '1.3'
|
27
27
|
- - "<"
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 2.0.0
|
30
30
|
type: :runtime
|
31
31
|
prerelease: false
|
32
32
|
version_requirements: !ruby/object:Gem::Requirement
|
33
33
|
requirements:
|
34
34
|
- - ">="
|
35
35
|
- !ruby/object:Gem::Version
|
36
|
-
version:
|
36
|
+
version: '1.3'
|
37
37
|
- - "<"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version:
|
39
|
+
version: 2.0.0
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: xcodeproj
|
42
42
|
requirement: !ruby/object:Gem::Requirement
|
@@ -1058,6 +1058,7 @@ files:
|
|
1058
1058
|
- fastlane/lib/fastlane/actions/snapshot.rb
|
1059
1059
|
- fastlane/lib/fastlane/actions/sonar.rb
|
1060
1060
|
- fastlane/lib/fastlane/actions/splunkmint.rb
|
1061
|
+
- fastlane/lib/fastlane/actions/spm.rb
|
1061
1062
|
- fastlane/lib/fastlane/actions/ssh.rb
|
1062
1063
|
- fastlane/lib/fastlane/actions/supply.rb
|
1063
1064
|
- fastlane/lib/fastlane/actions/swiftlint.rb
|