fastlane 1.30.2 → 1.31.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/bin/fastlane +13 -4
- data/lib/assets/FastfileTemplate +2 -2
- data/lib/fastlane/actions/update_fastlane.rb +1 -1
- data/lib/fastlane/actions/verify_xcode.rb +2 -2
- data/lib/fastlane/command_line_handler.rb +1 -1
- data/lib/fastlane/one_off.rb +34 -0
- data/lib/fastlane/setup.rb +1 -1
- data/lib/fastlane/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f82cd0e838cac0f0b345b6b225c58a05e8bba22b
|
4
|
+
data.tar.gz: ec85b5501efa78124100246db9ed180f0081b5ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee43c4ddd054afed2f74a55c8e8f06b4be00a6469b25b8a97d480a52e77d7a350eec067c1767b1432773c31f5f8bc48d6a9dba93ae6cdfa00654d37c62d6f3f9
|
7
|
+
data.tar.gz: b6f7b2db31293f7526b1d6d2b512f1b5469a6adfae8ebfb572519057b3a68f04dc824ca1cee554335e72fd07fc7d0128ae21fd1905f50b6ae77055de42da48ac
|
data/README.md
CHANGED
@@ -83,7 +83,7 @@ fastlane appstore
|
|
83
83
|
:tophat: | Easy setup assistant to get started in a few minutes
|
84
84
|
:email: | Automatically pass on information from one build step to another (e.g. path to the `ipa` file)
|
85
85
|
:page_with_curl: | Store **everything** in git. Never again lookup the build commands in the `Jenkins` configs
|
86
|
-
:rocket: | Saves you **hours** for every app
|
86
|
+
:rocket: | Saves you **hours** for every app update you release
|
87
87
|
:pencil2: | Very flexible configuration using a fully customisable `Fastfile`
|
88
88
|
:mountain_cableway: | Implement a fully working Continuous Delivery process
|
89
89
|
:ghost: | [Jenkins Integration](https://github.com/KrauseFx/fastlane/blob/master/docs/Jenkins.md): Show the output directly in the Jenkins test results
|
data/bin/fastlane
CHANGED
@@ -25,14 +25,13 @@ class FastlaneApplication
|
|
25
25
|
|
26
26
|
always_trace!
|
27
27
|
|
28
|
-
command :
|
29
|
-
c.syntax = 'fastlane
|
28
|
+
command :trigger do |c|
|
29
|
+
c.syntax = 'fastlane trigger [lane]'
|
30
30
|
c.description = 'Drive the fastlane for a specific environment. Pass the lane name and optionally the platform first'
|
31
31
|
c.option '--env STRING', String, 'Add environment to use with `dotenv`'
|
32
32
|
|
33
33
|
c.action do |args, options|
|
34
34
|
if Fastlane::FastlaneFolder.path
|
35
|
-
|
36
35
|
Fastlane::CommandLineHandler.handle(args, options)
|
37
36
|
else
|
38
37
|
create = agree('Could not find fastlane in current directory. Would you like to set it up? (y/n)'.yellow, true)
|
@@ -101,6 +100,16 @@ class FastlaneApplication
|
|
101
100
|
end
|
102
101
|
end
|
103
102
|
|
103
|
+
command :run do |c|
|
104
|
+
c.syntax = 'fastlane run [action] key1:value1 key2:value2'
|
105
|
+
c.description = 'Run a fastlane one-off action without a full lane'
|
106
|
+
|
107
|
+
c.action do |args, options|
|
108
|
+
require 'fastlane/one_off'
|
109
|
+
Fastlane::OneOff.execute(args: args)
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
104
113
|
command :actions do |c|
|
105
114
|
c.syntax = 'fastlane actions'
|
106
115
|
c.description = 'Lists all available fastlane actions'
|
@@ -122,7 +131,7 @@ class FastlaneApplication
|
|
122
131
|
end
|
123
132
|
end
|
124
133
|
|
125
|
-
default_command :
|
134
|
+
default_command :trigger
|
126
135
|
|
127
136
|
run!
|
128
137
|
end
|
data/lib/assets/FastfileTemplate
CHANGED
@@ -43,7 +43,7 @@ platform :ios do
|
|
43
43
|
lane :beta do
|
44
44
|
snapshot
|
45
45
|
sigh
|
46
|
-
|
46
|
+
pilot
|
47
47
|
|
48
48
|
# sh "your_script.sh"
|
49
49
|
# You can also use other beta testing services here
|
@@ -54,7 +54,7 @@ platform :ios do
|
|
54
54
|
lane :deploy do
|
55
55
|
snapshot
|
56
56
|
sigh
|
57
|
-
deliver(
|
57
|
+
deliver(force: true)
|
58
58
|
# frameit
|
59
59
|
end
|
60
60
|
|
@@ -37,7 +37,7 @@ module Fastlane
|
|
37
37
|
if output.include?("source=Mac App Store") or output.include?("source=Apple") or output.include?("source=Apple System")
|
38
38
|
Helper.log.info "Successfully verified Xcode installation at path '#{params[:xcode_path]}' 🎧".green
|
39
39
|
else
|
40
|
-
show_and_raise_error("Invalid Download Source of Xcode")
|
40
|
+
show_and_raise_error("Invalid Download Source of Xcode: #{output}")
|
41
41
|
end
|
42
42
|
|
43
43
|
true
|
@@ -59,7 +59,7 @@ module Fastlane
|
|
59
59
|
return output
|
60
60
|
end
|
61
61
|
|
62
|
-
def show_and_raise_error(error)
|
62
|
+
def self.show_and_raise_error(error)
|
63
63
|
Helper.log.fatal "Attention: Your Xcode Installation might be hacked.".red
|
64
64
|
Helper.log.fatal "This might be a false alarm, if so, please submit an issue on GitHub".red
|
65
65
|
Helper.log.fatal "The following information couldn't be found:".red
|
@@ -11,7 +11,7 @@ module Fastlane
|
|
11
11
|
key, value = current.split(":", 2)
|
12
12
|
raise "Please pass values like this: key:value" unless key.length > 0
|
13
13
|
value = convert_value(value)
|
14
|
-
Helper.log.debug "Using #{key}: #{value}".
|
14
|
+
Helper.log.debug "Using #{key}: #{value}".yellow
|
15
15
|
lane_parameters[key.to_sym] = value
|
16
16
|
else
|
17
17
|
platform_lane_info << current
|
@@ -0,0 +1,34 @@
|
|
1
|
+
module Fastlane
|
2
|
+
# Call actions without triggering a full lane
|
3
|
+
class OneOff
|
4
|
+
def self.execute(args: nil)
|
5
|
+
action_parameters = {}
|
6
|
+
action_name = nil
|
7
|
+
|
8
|
+
args.each do |current|
|
9
|
+
if current.include? ":" # that's a key/value which we want to pass to the lane
|
10
|
+
key, value = current.split(":", 2)
|
11
|
+
raise "Please pass values like this: key:value" unless key.length > 0
|
12
|
+
value = CommandLineHandler.convert_value(value)
|
13
|
+
Helper.log.debug "Using #{key}: #{value}".yellow
|
14
|
+
action_parameters[key.to_sym] = value
|
15
|
+
else
|
16
|
+
action_name ||= current
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
raise "invalid syntax" unless action_name
|
21
|
+
|
22
|
+
class_name = action_name.fastlane_class + 'Action'
|
23
|
+
class_ref = nil
|
24
|
+
begin
|
25
|
+
class_ref = Fastlane::Actions.const_get(class_name)
|
26
|
+
rescue NameError
|
27
|
+
raise "Action not found"
|
28
|
+
end
|
29
|
+
|
30
|
+
r = Runner.new
|
31
|
+
r.execute_action(action_name, class_ref, [action_parameters])
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
data/lib/fastlane/setup.rb
CHANGED
@@ -101,7 +101,7 @@ module Fastlane
|
|
101
101
|
Helper.log.info 'Please read the above carefully and hit Enter to confirm.'.green
|
102
102
|
STDIN.gets unless Helper.is_test?
|
103
103
|
else
|
104
|
-
if agree("Do you want to setup 'deliver', which is used to upload app screenshots, app metadata and app updates to the App Store
|
104
|
+
if agree("Do you want to setup 'deliver', which is used to upload app screenshots, app metadata and app updates to the App Store? (y/n)".yellow, true)
|
105
105
|
Helper.log.info "Loading up 'deliver', this might take a few seconds"
|
106
106
|
require 'deliver'
|
107
107
|
require 'deliver/setup'
|
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.31.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
|
+
date: 2015-10-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -663,6 +663,7 @@ files:
|
|
663
663
|
- lib/fastlane/lane_list.rb
|
664
664
|
- lib/fastlane/lane_manager.rb
|
665
665
|
- lib/fastlane/new_action.rb
|
666
|
+
- lib/fastlane/one_off.rb
|
666
667
|
- lib/fastlane/runner.rb
|
667
668
|
- lib/fastlane/setup.rb
|
668
669
|
- lib/fastlane/supported_platforms.rb
|