fastlane 2.18.0.beta.20170217010035 → 2.18.0.beta.20170218010103
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/deliver/lib/deliver/detect_values.rb +2 -2
- data/fastlane/lib/fastlane/actions/git_branch.rb +3 -5
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/pilot/lib/pilot/commands_generator.rb +27 -2
- data/produce/lib/produce/commands_generator.rb +10 -2
- data/supply/lib/supply/commands_generator.rb +6 -2
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26344fc38e6bbb52df6730fd55f0aad3c5faa291
|
4
|
+
data.tar.gz: 7567c71aaf884fb1140d4541df84d79b06e4a7d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbcca6ceea36efa4997e21bbe549204e21ee24fa0869c765aeefcbbb618d178dbe0aabaec6b4dbeeee1f26069ed2e06cc0cdb7a1ea64c47cf408985972d5cc2f
|
7
|
+
data.tar.gz: 8121a45f2868454cef211d3cbd6fd43bcbb1c9a2c516c7d63f2d3fc08b617e4cfe962a56bc52e15d535004a44588dad2e1182a6a9751ea9330ed9a9680824a18
|
@@ -21,7 +21,7 @@ module Deliver
|
|
21
21
|
options[:app_identifier] = identifier if identifier.to_s.length > 0
|
22
22
|
options[:app_identifier] ||= UI.input("The Bundle Identifier of your App: ")
|
23
23
|
rescue => ex
|
24
|
-
UI.error(ex)
|
24
|
+
UI.error("#{ex.message}\n#{ex.backtrace.join('\n')}")
|
25
25
|
UI.user_error!("Could not infer your App's Bundle Identifier")
|
26
26
|
end
|
27
27
|
|
@@ -56,7 +56,7 @@ module Deliver
|
|
56
56
|
options[:app_version] ||= FastlaneCore::PkgFileAnalyser.fetch_app_version(options[:pkg])
|
57
57
|
end
|
58
58
|
rescue => ex
|
59
|
-
UI.error(ex)
|
59
|
+
UI.error("#{ex.message}\n#{ex.backtrace.join('\n')}")
|
60
60
|
UI.user_error!("Could not infer your app's version")
|
61
61
|
end
|
62
62
|
|
@@ -5,11 +5,9 @@ module Fastlane
|
|
5
5
|
|
6
6
|
class GitBranchAction < Action
|
7
7
|
def self.run(params)
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
return ENV["BITRISE_GIT_BRANCH"] if FastlaneCore::Env.truthy?("BITRISE_GIT_BRANCH")
|
12
|
-
`git symbolic-ref HEAD --short 2>/dev/null`.strip
|
8
|
+
env_vars = %w(GIT_BRANCH BRANCH_NAME TRAVIS_BRANCH BITRISE_GIT_BRANCH CI_BUILD_REF_NAME)
|
9
|
+
env_name = env_vars.find { |env_var| FastlaneCore::Env.truthy?(env_var) }
|
10
|
+
ENV.fetch(env_name) { `git symbolic-ref HEAD --short 2>/dev/null`.strip }
|
13
11
|
end
|
14
12
|
|
15
13
|
#####################################################
|
@@ -8,8 +8,6 @@ module Pilot
|
|
8
8
|
class CommandsGenerator
|
9
9
|
include Commander::Methods
|
10
10
|
|
11
|
-
FastlaneCore::CommanderGenerator.new.generate(Pilot::Options.available_options)
|
12
|
-
|
13
11
|
def self.start
|
14
12
|
new.run
|
15
13
|
end
|
@@ -53,6 +51,9 @@ module Pilot
|
|
53
51
|
command :upload do |c|
|
54
52
|
c.syntax = "fastlane pilot upload"
|
55
53
|
c.description = "Uploads a new binary to Apple TestFlight"
|
54
|
+
|
55
|
+
FastlaneCore::CommanderGenerator.new.generate(Pilot::Options.available_options, command: c)
|
56
|
+
|
56
57
|
c.action do |args, options|
|
57
58
|
config = FastlaneCore::Configuration.create(Pilot::Options.available_options, convert_options(options))
|
58
59
|
Pilot::BuildManager.new.upload(config)
|
@@ -62,6 +63,9 @@ module Pilot
|
|
62
63
|
command :distribute do |c|
|
63
64
|
c.syntax = "fastlane pilot distribute"
|
64
65
|
c.description = "Distribute a previously uploaded binary to Apple TestFlight"
|
66
|
+
|
67
|
+
FastlaneCore::CommanderGenerator.new.generate(Pilot::Options.available_options, command: c)
|
68
|
+
|
65
69
|
c.action do |args, options|
|
66
70
|
config = FastlaneCore::Configuration.create(Pilot::Options.available_options, convert_options(options))
|
67
71
|
Pilot::BuildManager.new.distribute(config)
|
@@ -71,6 +75,9 @@ module Pilot
|
|
71
75
|
command :builds do |c|
|
72
76
|
c.syntax = "fastlane pilot builds"
|
73
77
|
c.description = "Lists all builds for given application"
|
78
|
+
|
79
|
+
FastlaneCore::CommanderGenerator.new.generate(Pilot::Options.available_options, command: c)
|
80
|
+
|
74
81
|
c.action do |args, options|
|
75
82
|
config = FastlaneCore::Configuration.create(Pilot::Options.available_options, convert_options(options))
|
76
83
|
Pilot::BuildManager.new.list(config)
|
@@ -80,6 +87,9 @@ module Pilot
|
|
80
87
|
command :add do |c|
|
81
88
|
c.syntax = "fastlane pilot add"
|
82
89
|
c.description = "Adds new external tester(s) to a specific app (if given). This will also add an existing tester to an app."
|
90
|
+
|
91
|
+
FastlaneCore::CommanderGenerator.new.generate(Pilot::Options.available_options, command: c)
|
92
|
+
|
83
93
|
c.action do |args, options|
|
84
94
|
handle_multiple('add_tester', args, options)
|
85
95
|
end
|
@@ -88,6 +98,9 @@ module Pilot
|
|
88
98
|
command :list do |c|
|
89
99
|
c.syntax = "fastlane pilot list"
|
90
100
|
c.description = "Lists all registered testers, both internal and external"
|
101
|
+
|
102
|
+
FastlaneCore::CommanderGenerator.new.generate(Pilot::Options.available_options, command: c)
|
103
|
+
|
91
104
|
c.action do |args, options|
|
92
105
|
config = FastlaneCore::Configuration.create(Pilot::Options.available_options, convert_options(options))
|
93
106
|
Pilot::TesterManager.new.list_testers(config)
|
@@ -97,6 +110,9 @@ module Pilot
|
|
97
110
|
command :find do |c|
|
98
111
|
c.syntax = "fastlane pilot find"
|
99
112
|
c.description = "Find tester(s) (internal or external) by their email address"
|
113
|
+
|
114
|
+
FastlaneCore::CommanderGenerator.new.generate(Pilot::Options.available_options, command: c)
|
115
|
+
|
100
116
|
c.action do |args, options|
|
101
117
|
handle_multiple('find_tester', args, options)
|
102
118
|
end
|
@@ -105,6 +121,9 @@ module Pilot
|
|
105
121
|
command :remove do |c|
|
106
122
|
c.syntax = "fastlane pilot remove"
|
107
123
|
c.description = "Remove external tester(s) by their email address"
|
124
|
+
|
125
|
+
FastlaneCore::CommanderGenerator.new.generate(Pilot::Options.available_options, command: c)
|
126
|
+
|
108
127
|
c.action do |args, options|
|
109
128
|
handle_multiple('remove_tester', args, options)
|
110
129
|
end
|
@@ -113,6 +132,9 @@ module Pilot
|
|
113
132
|
command :export do |c|
|
114
133
|
c.syntax = "fastlane pilot export"
|
115
134
|
c.description = "Exports all external testers to a CSV file"
|
135
|
+
|
136
|
+
FastlaneCore::CommanderGenerator.new.generate(Pilot::Options.available_options, command: c)
|
137
|
+
|
116
138
|
c.action do |args, options|
|
117
139
|
config = FastlaneCore::Configuration.create(Pilot::Options.available_options, convert_options(options))
|
118
140
|
Pilot::TesterExporter.new.export_testers(config)
|
@@ -122,6 +144,9 @@ module Pilot
|
|
122
144
|
command :import do |c|
|
123
145
|
c.syntax = "fastlane pilot import"
|
124
146
|
c.description = "Create external testers from a CSV file"
|
147
|
+
|
148
|
+
FastlaneCore::CommanderGenerator.new.generate(Pilot::Options.available_options, command: c)
|
149
|
+
|
125
150
|
c.action do |args, options|
|
126
151
|
config = FastlaneCore::Configuration.create(Pilot::Options.available_options, convert_options(options))
|
127
152
|
Pilot::TesterImporter.new.import_testers(config)
|
@@ -22,12 +22,12 @@ module Produce
|
|
22
22
|
|
23
23
|
global_option('--verbose') { FastlaneCore::Globals.verbose = true }
|
24
24
|
|
25
|
-
FastlaneCore::CommanderGenerator.new.generate(Produce::Options.available_options)
|
26
|
-
|
27
25
|
command :create do |c|
|
28
26
|
c.syntax = 'fastlane produce create'
|
29
27
|
c.description = 'Creates a new app on iTunes Connect and the Apple Developer Portal'
|
30
28
|
|
29
|
+
FastlaneCore::CommanderGenerator.new.generate(Produce::Options.available_options, command: c)
|
30
|
+
|
31
31
|
c.action do |args, options|
|
32
32
|
Produce.config = FastlaneCore::Configuration.create(Produce::Options.available_options, options.__hash__)
|
33
33
|
|
@@ -56,6 +56,8 @@ module Produce
|
|
56
56
|
c.option '--sirikit', 'Enable SiriKit'
|
57
57
|
c.option '--vpn-conf', 'Enable VPN Configuration'
|
58
58
|
|
59
|
+
FastlaneCore::CommanderGenerator.new.generate(Produce::Options.available_options, command: c)
|
60
|
+
|
59
61
|
c.action do |args, options|
|
60
62
|
# Filter the options so that we can still build the configuration
|
61
63
|
allowed_keys = Produce::Options.available_options.collect(&:key)
|
@@ -87,6 +89,8 @@ module Produce
|
|
87
89
|
c.option '--sirikit', 'Disable SiriKit'
|
88
90
|
c.option '--vpn-conf', 'Disable VPN Configuration'
|
89
91
|
|
92
|
+
FastlaneCore::CommanderGenerator.new.generate(Produce::Options.available_options, command: c)
|
93
|
+
|
90
94
|
c.action do |args, options|
|
91
95
|
# Filter the options so that we can still build the configuration
|
92
96
|
allowed_keys = Produce::Options.available_options.collect(&:key)
|
@@ -105,6 +109,8 @@ module Produce
|
|
105
109
|
c.option '-n', '--group_name STRING', String, 'Name for the group that is created (PRODUCE_GROUP_NAME)'
|
106
110
|
c.option '-g', '--group_identifier STRING', String, 'Group identifier for the group (PRODUCE_GROUP_IDENTIFIER)'
|
107
111
|
|
112
|
+
FastlaneCore::CommanderGenerator.new.generate(Produce::Options.available_options, command: c)
|
113
|
+
|
108
114
|
c.action do |args, options|
|
109
115
|
allowed_keys = Produce::Options.available_options.collect(&:key)
|
110
116
|
Produce.config = FastlaneCore::Configuration.create(Produce::Options.available_options, options.__hash__.select { |key, value| allowed_keys.include? key })
|
@@ -119,6 +125,8 @@ module Produce
|
|
119
125
|
c.description = 'Associate with a group, which is created if needed or simply located otherwise'
|
120
126
|
c.example 'Associate with group', 'produce associate-group -a com.example.app group.example.com'
|
121
127
|
|
128
|
+
FastlaneCore::CommanderGenerator.new.generate(Produce::Options.available_options, command: c)
|
129
|
+
|
122
130
|
c.action do |args, options|
|
123
131
|
Produce.config = FastlaneCore::Configuration.create(Produce::Options.available_options, options.__hash__)
|
124
132
|
|
@@ -8,8 +8,6 @@ module Supply
|
|
8
8
|
class CommandsGenerator
|
9
9
|
include Commander::Methods
|
10
10
|
|
11
|
-
FastlaneCore::CommanderGenerator.new.generate(Supply::Options.available_options)
|
12
|
-
|
13
11
|
def self.start
|
14
12
|
new.run
|
15
13
|
end
|
@@ -30,6 +28,9 @@ module Supply
|
|
30
28
|
command :run do |c|
|
31
29
|
c.syntax = 'fastlane supply'
|
32
30
|
c.description = 'Run a deploy process'
|
31
|
+
|
32
|
+
FastlaneCore::CommanderGenerator.new.generate(Supply::Options.available_options)
|
33
|
+
|
33
34
|
c.action do |args, options|
|
34
35
|
Supply.config = FastlaneCore::Configuration.create(Supply::Options.available_options, options.__hash__)
|
35
36
|
load_supplyfile
|
@@ -41,6 +42,9 @@ module Supply
|
|
41
42
|
command :init do |c|
|
42
43
|
c.syntax = 'fastlane supply init'
|
43
44
|
c.description = 'Sets up supply for you'
|
45
|
+
|
46
|
+
FastlaneCore::CommanderGenerator.new.generate(Supply::Options.available_options)
|
47
|
+
|
44
48
|
c.action do |args, options|
|
45
49
|
require 'supply/setup'
|
46
50
|
Supply.config = FastlaneCore::Configuration.create(Supply::Options.available_options, options.__hash__)
|
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.18.0.beta.
|
4
|
+
version: 2.18.0.beta.20170218010103
|
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: 2017-02-
|
17
|
+
date: 2017-02-18 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: slack-notifier
|
@@ -1294,23 +1294,23 @@ metadata: {}
|
|
1294
1294
|
post_install_message:
|
1295
1295
|
rdoc_options: []
|
1296
1296
|
require_paths:
|
1297
|
+
- spaceship/lib
|
1297
1298
|
- sigh/lib
|
1298
|
-
- deliver/lib
|
1299
|
-
- pilot/lib
|
1300
|
-
- frameit/lib
|
1301
|
-
- screengrab/lib
|
1302
|
-
- credentials_manager/lib
|
1303
1299
|
- snapshot/lib
|
1304
|
-
-
|
1300
|
+
- deliver/lib
|
1301
|
+
- cert/lib
|
1305
1302
|
- pem/lib
|
1306
|
-
-
|
1303
|
+
- gym/lib
|
1304
|
+
- fastlane/lib
|
1305
|
+
- frameit/lib
|
1307
1306
|
- scan/lib
|
1308
|
-
- match/lib
|
1309
|
-
- cert/lib
|
1310
1307
|
- supply/lib
|
1311
|
-
-
|
1308
|
+
- pilot/lib
|
1309
|
+
- produce/lib
|
1310
|
+
- match/lib
|
1312
1311
|
- fastlane_core/lib
|
1313
|
-
-
|
1312
|
+
- credentials_manager/lib
|
1313
|
+
- screengrab/lib
|
1314
1314
|
required_ruby_version: !ruby/object:Gem::Requirement
|
1315
1315
|
requirements:
|
1316
1316
|
- - ">="
|