fastlane 2.39.0.beta.20170614010012 → 2.39.0.beta.20170615010031
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/commands_generator.rb +2 -3
- data/deliver/lib/deliver/setup.rb +3 -1
- data/fastlane/lib/fastlane/actions/automatic_code_signing.rb +1 -0
- data/fastlane/lib/fastlane/actions/commit_version_bump.rb +10 -2
- data/fastlane/lib/fastlane/actions/unlock_keychain.rb +2 -0
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/fastlane_core/lib/fastlane_core/helper.rb +6 -1
- data/gym/lib/gym/commands_generator.rb +1 -1
- data/match/lib/match/commands_generator.rb +2 -1
- data/scan/lib/scan/commands_generator.rb +1 -1
- data/scan/lib/scan/options.rb +1 -1
- metadata +15 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c8992068d4d8b4e37fb8ae171302c6ffe3609e03
|
4
|
+
data.tar.gz: 2b726ed31014dd7194bef1eb15b59bf7d0c15a98
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 283fd2fb8bb64aa9c5b659c1baac08ff1d06f648f4f83fa6f7bfa346b82b2e6dec5bdafe48ebb8b2d47a1aadd64c7b333dbb9a98778dde80da023c96db30db59
|
7
|
+
data.tar.gz: 16c95ff265ccbbf79bff1d8ebd517f512c28bc574f89180a1b7e3ae6e3a379a0ece1a498eaaf8dd88aa452297a23c58ed7293d09fe5e9b75713a013e50415d93
|
@@ -35,7 +35,6 @@ module Deliver
|
|
35
35
|
res
|
36
36
|
end
|
37
37
|
|
38
|
-
# rubocop:disable Metrics/PerceivedComplexity
|
39
38
|
def run
|
40
39
|
program :name, 'deliver'
|
41
40
|
program :version, Fastlane::VERSION
|
@@ -135,7 +134,7 @@ module Deliver
|
|
135
134
|
options = FastlaneCore::Configuration.create(deliverfile_options(skip_verification: true), options.__hash__)
|
136
135
|
options.load_configuration_file("Deliverfile")
|
137
136
|
Deliver::Runner.new(options, skip_version: true) # to login...
|
138
|
-
containing = FastlaneCore::Helper.
|
137
|
+
containing = FastlaneCore::Helper.fastlane_enabled_folder_path
|
139
138
|
path = options[:screenshots_path] || File.join(containing, 'screenshots')
|
140
139
|
Deliver::DownloadScreenshots.run(options, path)
|
141
140
|
end
|
@@ -151,7 +150,7 @@ module Deliver
|
|
151
150
|
options = FastlaneCore::Configuration.create(deliverfile_options(skip_verification: true), options.__hash__)
|
152
151
|
options.load_configuration_file("Deliverfile")
|
153
152
|
Deliver::Runner.new(options) # to login...
|
154
|
-
containing = FastlaneCore::Helper.
|
153
|
+
containing = FastlaneCore::Helper.fastlane_enabled_folder_path
|
155
154
|
path = options[:metadata_path] || File.join(containing, 'metadata')
|
156
155
|
res = Deliver::CommandsGenerator.force_overwrite_metadata?(options, path)
|
157
156
|
return 0 unless res
|
@@ -1,7 +1,9 @@
|
|
1
|
+
require 'fastlane_core'
|
2
|
+
|
1
3
|
module Deliver
|
2
4
|
class Setup
|
3
5
|
def run(options)
|
4
|
-
containing =
|
6
|
+
containing = FastlaneCore::Helper.fastlane_enabled_folder_path
|
5
7
|
file_path = File.join(containing, 'Deliverfile')
|
6
8
|
data = generate_deliver_file(containing, options)
|
7
9
|
setup_deliver(file_path, data, containing, options)
|
@@ -75,6 +75,7 @@ module Fastlane
|
|
75
75
|
FastlaneCore::ConfigItem.new(key: :path,
|
76
76
|
env_name: "FL_PROJECT_SIGNING_PROJECT_PATH",
|
77
77
|
description: "Path to your Xcode project",
|
78
|
+
default_value: Dir['*.xcodeproj'].first,
|
78
79
|
verify_block: proc do |value|
|
79
80
|
UI.user_error!("Path is invalid") unless File.exist?(File.expand_path(value))
|
80
81
|
end),
|
@@ -190,6 +190,15 @@ module Fastlane
|
|
190
190
|
'commit_version_bump(
|
191
191
|
message: "Version Bump", # create a commit with a custom message
|
192
192
|
xcodeproj: "./path/to/MyProject.xcodeproj", # optional, if you have multiple Xcode project files, you must specify your main project here
|
193
|
+
)',
|
194
|
+
'commit_version_bump(
|
195
|
+
settings: true # Include Settings.bundle/Root.plist
|
196
|
+
)',
|
197
|
+
'commit_version_bump(
|
198
|
+
settings: "About.plist" # Include Settings.bundle/About.plist
|
199
|
+
)',
|
200
|
+
'commit_version_bump(
|
201
|
+
settings: %w[About.plist Root.plist] # Include more than one plist from Settings.bundle
|
193
202
|
)'
|
194
203
|
]
|
195
204
|
end
|
@@ -216,8 +225,7 @@ module Fastlane
|
|
216
225
|
settings_bundle = project.files.find { |f| f.path =~ /Settings.bundle/ }
|
217
226
|
raise "No Settings.bundle in project" if settings_bundle.nil?
|
218
227
|
|
219
|
-
|
220
|
-
File.join(project_parent, settings_bundle.path, settings_file_name)
|
228
|
+
File.join(settings_bundle.real_path, settings_file_name)
|
221
229
|
end
|
222
230
|
end
|
223
231
|
end
|
@@ -22,6 +22,8 @@ module Fastlane
|
|
22
22
|
escaped_path = keychain_path.shellescape
|
23
23
|
escaped_password = params[:password].shellescape
|
24
24
|
|
25
|
+
# Log the full path, useful for troubleshooting
|
26
|
+
UI.message("Unlocking keychain at path: #{escaped_path}")
|
25
27
|
# unlock given keychain and disable lock and timeout
|
26
28
|
commands << Fastlane::Actions.sh("security unlock-keychain -p #{escaped_password} #{escaped_path}", log: false)
|
27
29
|
commands << Fastlane::Actions.sh("security set-keychain-settings #{escaped_path}", log: false)
|
@@ -208,7 +208,7 @@ module FastlaneCore
|
|
208
208
|
keychain_paths << "#{location}.keychain"
|
209
209
|
end
|
210
210
|
|
211
|
-
keychain_path = keychain_paths.find { |path| File.
|
211
|
+
keychain_path = keychain_paths.find { |path| File.file?(path) }
|
212
212
|
UI.user_error!("Could not locate the provided keychain. Tried:\n\t#{keychain_paths.join("\n\t")}") unless keychain_path
|
213
213
|
keychain_path
|
214
214
|
end
|
@@ -240,6 +240,11 @@ module FastlaneCore
|
|
240
240
|
@enabled ||= !FastlaneCore::FastlaneFolder.path.nil?
|
241
241
|
end
|
242
242
|
|
243
|
+
# Checks if fastlane is enabled for this project and returns the folder where the configuration lives
|
244
|
+
def self.fastlane_enabled_folder_path
|
245
|
+
fastlane_enabled? ? FastlaneCore::FastlaneFolder.path : '.'
|
246
|
+
end
|
247
|
+
|
243
248
|
# <b>DEPRECATED:</b> Use the `ROOT` constant from the appropriate tool module instead
|
244
249
|
# e.g. File.join(Sigh::ROOT, 'lib', 'assets', 'resign.sh')
|
245
250
|
#
|
@@ -46,7 +46,7 @@ module Gym
|
|
46
46
|
c.syntax = "fastlane gym init"
|
47
47
|
c.description = "Creates a new Gymfile for you"
|
48
48
|
c.action do |_args, options|
|
49
|
-
containing =
|
49
|
+
containing = FastlaneCore::Helper.fastlane_enabled_folder_path
|
50
50
|
path = File.join(containing, Gym.gymfile_name)
|
51
51
|
UI.user_error! "Gymfile already exists" if File.exist?(path)
|
52
52
|
template = File.read("#{Gym::ROOT}/lib/assets/GymfileTemplate")
|
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'commander'
|
2
|
+
require 'fastlane_core'
|
2
3
|
require 'fastlane/version'
|
3
4
|
|
4
5
|
HighLine.track_eof = false
|
@@ -60,7 +61,7 @@ module Match
|
|
60
61
|
c.syntax = 'fastlane match init'
|
61
62
|
c.description = 'Create the Matchfile for you'
|
62
63
|
c.action do |args, options|
|
63
|
-
containing =
|
64
|
+
containing = FastlaneCore::Helper.fastlane_enabled_folder_path
|
64
65
|
path = File.join(containing, "Matchfile")
|
65
66
|
|
66
67
|
if File.exist?(path)
|
@@ -45,7 +45,7 @@ module Scan
|
|
45
45
|
c.syntax = "fastlane scan init"
|
46
46
|
c.description = "Creates a new Scanfile for you"
|
47
47
|
c.action do |_args, options|
|
48
|
-
containing =
|
48
|
+
containing = FastlaneCore::Helper.fastlane_enabled_folder_path
|
49
49
|
path = File.join(containing, Scan.scanfile_name)
|
50
50
|
UI.user_error!("Scanfile already exists").yellow if File.exist?(path)
|
51
51
|
template = File.read("#{Scan::ROOT}/lib/assets/ScanfileTemplate")
|
data/scan/lib/scan/options.rb
CHANGED
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.39.0.beta.
|
4
|
+
version: 2.39.0.beta.20170615010031
|
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: 2017-06-
|
18
|
+
date: 2017-06-15 00:00:00.000000000 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: slack-notifier
|
@@ -1375,23 +1375,23 @@ metadata:
|
|
1375
1375
|
post_install_message:
|
1376
1376
|
rdoc_options: []
|
1377
1377
|
require_paths:
|
1378
|
-
-
|
1378
|
+
- sigh/lib
|
1379
|
+
- frameit/lib
|
1380
|
+
- produce/lib
|
1379
1381
|
- deliver/lib
|
1380
|
-
- gym/lib
|
1381
|
-
- spaceship/lib
|
1382
|
-
- scan/lib
|
1383
1382
|
- pem/lib
|
1384
|
-
- screengrab/lib
|
1385
|
-
- fastlane_core/lib
|
1386
|
-
- sigh/lib
|
1387
|
-
- fastlane/lib
|
1388
|
-
- cert/lib
|
1389
|
-
- pilot/lib
|
1390
1383
|
- match/lib
|
1391
|
-
-
|
1384
|
+
- cert/lib
|
1385
|
+
- fastlane/lib
|
1386
|
+
- fastlane_core/lib
|
1392
1387
|
- snapshot/lib
|
1393
|
-
-
|
1394
|
-
-
|
1388
|
+
- credentials_manager/lib
|
1389
|
+
- supply/lib
|
1390
|
+
- scan/lib
|
1391
|
+
- pilot/lib
|
1392
|
+
- spaceship/lib
|
1393
|
+
- screengrab/lib
|
1394
|
+
- gym/lib
|
1395
1395
|
required_ruby_version: !ruby/object:Gem::Requirement
|
1396
1396
|
requirements:
|
1397
1397
|
- - ">="
|