fastlane 2.3.0 → 2.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/deliver/lib/deliver/options.rb +1 -0
- data/fastlane/lib/assets/report_template.xml.erb +3 -1
- data/fastlane/lib/fastlane/actions/cocoapods.rb +3 -0
- data/fastlane/lib/fastlane/actions/sh.rb +2 -1
- data/fastlane/lib/fastlane/fast_file.rb +5 -4
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/fastlane_core/lib/fastlane_core/helper.rb +1 -1
- metadata +8 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dd55add527f78efa5ed212cceeeb4f89373e8c85
|
4
|
+
data.tar.gz: 07ad99cd13028cc63944da94d9045cfa17b0a502
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c815b50e527a0b049e71ae2ca9bc98854b4dbf8274f94d44b1f67f47db170f3270e12cf1f2f1f604deec47f798a6fa1233c8ee19057abd07aaca20bbe86ca429
|
7
|
+
data.tar.gz: 33b7aa8a834f09d239941d7b571d6775ce9956855f55b6b30668a7b92892bbfb0d6252f295f1ec48f4a81ce53b2313eec6f20c7565cf5050c87b567e157157d4
|
@@ -26,6 +26,7 @@ module Deliver
|
|
26
26
|
is_string: false), # don't add any verification here, as it's used to store a spaceship ref
|
27
27
|
FastlaneCore::ConfigItem.new(key: :edit_live,
|
28
28
|
short_option: "-o",
|
29
|
+
optional: true,
|
29
30
|
env_name: "DELIVER_EDIT_LIVE",
|
30
31
|
description: "Modify live metadata, this option disables ipa upload and screenshot upload",
|
31
32
|
is_string: false),
|
@@ -1,8 +1,10 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
2
|
<testsuites>
|
3
3
|
<testsuite name="fastlane.lanes">
|
4
|
+
<%# prefix index with leading zeroes to help alpha-numeric sorting. Note that index starts at 0 %>
|
5
|
+
<% log = (@steps.count-1).to_s.length %>
|
4
6
|
<% @steps.each_with_index do |step, index| %>
|
5
|
-
<% name = [index, step[:name]].join(": ") %>
|
7
|
+
<% name = [index.to_s.rjust(log, "0"), step[:name]].join(": ") %>
|
6
8
|
<testcase classname="fastlane.lanes" name=<%= name.encode(:xml => :attr) %> time="<%= step[:time] %>">
|
7
9
|
<% if step[:error] %>
|
8
10
|
<failure message=<%= step[:error].encode(:xml => :attr).gsub("\n", " ") %> />
|
@@ -77,6 +77,9 @@ module Fastlane
|
|
77
77
|
UI.user_error!("Could not find Podfile") unless File.exist?(value) || Helper.test?
|
78
78
|
end)
|
79
79
|
]
|
80
|
+
# Please don't add a version parameter to the `cocoapods` action. If you need to specify a version when running
|
81
|
+
# `cocoapods`, please start using a Gemfile and lock the version there
|
82
|
+
# More information https://guides.cocoapods.org/using/a-gemfile.html
|
80
83
|
end
|
81
84
|
|
82
85
|
def self.is_supported?(platform)
|
@@ -15,7 +15,8 @@ module Fastlane
|
|
15
15
|
|
16
16
|
def self.details
|
17
17
|
[
|
18
|
-
"Allows running an arbitrary shell command"
|
18
|
+
"Allows running an arbitrary shell command.",
|
19
|
+
"Be aware of a specific behavior of 'sh' action with regard to the working directory. For details refer to Advanced.md"
|
19
20
|
].join("\n")
|
20
21
|
end
|
21
22
|
|
@@ -27,7 +27,7 @@ module Fastlane
|
|
27
27
|
content.scan(/^\s*require (.*)/).each do |current|
|
28
28
|
gem_name = current.last
|
29
29
|
next if gem_name.include?(".") # these are local gems
|
30
|
-
UI.important("You require a gem, please
|
30
|
+
UI.important("You require a gem, if this is a third party gem, please use `fastlane_require #{gem_name}` to ensure the gem is installed locally")
|
31
31
|
end
|
32
32
|
|
33
33
|
parse(content, @path)
|
@@ -171,9 +171,10 @@ module Fastlane
|
|
171
171
|
end
|
172
172
|
|
173
173
|
# Execute shell command
|
174
|
-
def sh(command)
|
175
|
-
|
176
|
-
|
174
|
+
def sh(command, log: true, error_callback: nil)
|
175
|
+
command_header = log ? command : "shell command"
|
176
|
+
Actions.execute_action(command_header) do
|
177
|
+
Actions.sh_no_action(command, log: log, error_callback: error_callback)
|
177
178
|
end
|
178
179
|
end
|
179
180
|
|
@@ -136,7 +136,7 @@ module FastlaneCore
|
|
136
136
|
@xcode_version = output.split("\n").first.split(' ')[1]
|
137
137
|
rescue => ex
|
138
138
|
UI.error(ex)
|
139
|
-
UI.
|
139
|
+
UI.user_error!("Error detecting currently used Xcode installation, please ensure that you have Xcode installed and set it using `sudo xcode-select -s [path]`")
|
140
140
|
end
|
141
141
|
@xcode_version
|
142
142
|
end
|
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.3.
|
4
|
+
version: 2.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
@@ -14,7 +14,7 @@ authors:
|
|
14
14
|
autorequire:
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
|
-
date: 2016-12-
|
17
|
+
date: 2016-12-28 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: slack-notifier
|
@@ -344,6 +344,9 @@ dependencies:
|
|
344
344
|
name: json
|
345
345
|
requirement: !ruby/object:Gem::Requirement
|
346
346
|
requirements:
|
347
|
+
- - ">="
|
348
|
+
- !ruby/object:Gem::Version
|
349
|
+
version: 2.0.1
|
347
350
|
- - "<"
|
348
351
|
- !ruby/object:Gem::Version
|
349
352
|
version: 3.0.0
|
@@ -351,6 +354,9 @@ dependencies:
|
|
351
354
|
prerelease: false
|
352
355
|
version_requirements: !ruby/object:Gem::Requirement
|
353
356
|
requirements:
|
357
|
+
- - ">="
|
358
|
+
- !ruby/object:Gem::Version
|
359
|
+
version: 2.0.1
|
354
360
|
- - "<"
|
355
361
|
- !ruby/object:Gem::Version
|
356
362
|
version: 3.0.0
|