fastlane 1.32.4 → 1.33.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/assets/custom_action_template.rb +1 -1
- data/lib/fastlane/action.rb +1 -1
- data/lib/fastlane/actions/create_keychain.rb +12 -1
- data/lib/fastlane/actions/set_build_number_repository.rb +22 -2
- data/lib/fastlane/actions/sigh.rb +0 -3
- data/lib/fastlane/actions/slack.rb +1 -1
- data/lib/fastlane/version.rb +1 -1
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aef11084878d3858296d2ba09d57b98d54c08b9c
|
4
|
+
data.tar.gz: efdd863ee7ef1435ba35b7e664562b65a075da3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db182de4a01c9f621d4ee589ab60d3ab371f858c8e38aff77f4be545e9f81af3662cf58d89b62643e13ff39696a51a7a22bacb732b473cf11ca5dbb15fdb124a
|
7
|
+
data.tar.gz: 0d94ff07239554ade5c3ae5ef10d67e612edfa31a047cff3908e69ca50dd2056713cf8546ddc0f57221ec6d180de8f1c112422b1d1805b2b7aea5206268d10a3
|
data/lib/fastlane/action.rb
CHANGED
@@ -28,6 +28,13 @@ module Fastlane
|
|
28
28
|
command << " ~/Library/Keychains/#{escaped_name}"
|
29
29
|
|
30
30
|
commands << Fastlane::Actions.sh(command, log: false)
|
31
|
+
|
32
|
+
if params[:add_to_search_list]
|
33
|
+
keychains = Action.sh("security list-keychains -d user").shellsplit
|
34
|
+
keychains << File.expand_path(params[:name], "~/Library/Keychains")
|
35
|
+
commands << Fastlane::Actions.sh("security list-keychains -s #{keychains.shelljoin}", log: false)
|
36
|
+
end
|
37
|
+
|
31
38
|
commands
|
32
39
|
end
|
33
40
|
|
@@ -64,7 +71,11 @@ module Fastlane
|
|
64
71
|
FastlaneCore::ConfigItem.new(key: :lock_after_timeout,
|
65
72
|
description: 'Lock keychain after timeout interval',
|
66
73
|
is_string: false,
|
67
|
-
default_value: false)
|
74
|
+
default_value: false),
|
75
|
+
FastlaneCore::ConfigItem.new(key: :add_to_search_list,
|
76
|
+
description: 'Add keychain to search list',
|
77
|
+
is_string: false,
|
78
|
+
default_value: true)
|
68
79
|
]
|
69
80
|
end
|
70
81
|
|
@@ -29,6 +29,13 @@ module Fastlane
|
|
29
29
|
return false
|
30
30
|
end
|
31
31
|
|
32
|
+
def self.is_hg?
|
33
|
+
Actions.sh 'hg status'
|
34
|
+
return true
|
35
|
+
rescue
|
36
|
+
return false
|
37
|
+
end
|
38
|
+
|
32
39
|
def self.run(params)
|
33
40
|
if is_svn?
|
34
41
|
Helper.log.info "Detected repo: svn"
|
@@ -39,6 +46,13 @@ module Fastlane
|
|
39
46
|
elsif is_git?
|
40
47
|
Helper.log.info "Detected repo: git"
|
41
48
|
command = 'git rev-parse --short HEAD'
|
49
|
+
elsif is_hg?
|
50
|
+
Helper.log.info "Detected repo: hg"
|
51
|
+
if params[:use_hg_revision_number]
|
52
|
+
command = 'hg parent --template {rev}'
|
53
|
+
else
|
54
|
+
command = 'hg parent --template "{node|short}"'
|
55
|
+
end
|
42
56
|
else
|
43
57
|
raise "No repository detected"
|
44
58
|
end
|
@@ -58,6 +72,12 @@ module Fastlane
|
|
58
72
|
|
59
73
|
def self.available_options
|
60
74
|
[
|
75
|
+
FastlaneCore::ConfigItem.new(key: :use_hg_revision_number,
|
76
|
+
env_name: "USE_HG_REVISION_NUMBER",
|
77
|
+
description: "Use hg revision number instead of hash (ignored for non-hg repos)",
|
78
|
+
optional: true,
|
79
|
+
is_string: false,
|
80
|
+
default_value: false)
|
61
81
|
]
|
62
82
|
end
|
63
83
|
|
@@ -66,8 +86,8 @@ module Fastlane
|
|
66
86
|
]
|
67
87
|
end
|
68
88
|
|
69
|
-
def self.
|
70
|
-
|
89
|
+
def self.authors
|
90
|
+
["pbrooks", "armadsen"]
|
71
91
|
end
|
72
92
|
end
|
73
93
|
end
|
@@ -10,8 +10,6 @@ module Fastlane
|
|
10
10
|
class SighAction < Action
|
11
11
|
def self.run(values)
|
12
12
|
require 'sigh'
|
13
|
-
require 'sigh/options'
|
14
|
-
require 'sigh/manager'
|
15
13
|
require 'credentials_manager/appfile_config'
|
16
14
|
|
17
15
|
begin
|
@@ -59,7 +57,6 @@ module Fastlane
|
|
59
57
|
|
60
58
|
def self.available_options
|
61
59
|
require 'sigh'
|
62
|
-
require 'sigh/options'
|
63
60
|
Sigh::Options.available_options
|
64
61
|
end
|
65
62
|
|
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.33.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-10-
|
11
|
+
date: 2015-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '1.
|
47
|
+
version: '1.3'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '1.
|
54
|
+
version: '1.3'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: xcodeproj
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -176,7 +176,7 @@ dependencies:
|
|
176
176
|
requirements:
|
177
177
|
- - ">="
|
178
178
|
- !ruby/object:Gem::Version
|
179
|
-
version: 0.22.
|
179
|
+
version: 0.22.2
|
180
180
|
- - "<"
|
181
181
|
- !ruby/object:Gem::Version
|
182
182
|
version: 1.0.0
|
@@ -186,7 +186,7 @@ dependencies:
|
|
186
186
|
requirements:
|
187
187
|
- - ">="
|
188
188
|
- !ruby/object:Gem::Version
|
189
|
-
version: 0.22.
|
189
|
+
version: 0.22.2
|
190
190
|
- - "<"
|
191
191
|
- !ruby/object:Gem::Version
|
192
192
|
version: 1.0.0
|
@@ -336,20 +336,20 @@ dependencies:
|
|
336
336
|
requirements:
|
337
337
|
- - ">="
|
338
338
|
- !ruby/object:Gem::Version
|
339
|
-
version: 0.
|
339
|
+
version: 1.0.0
|
340
340
|
- - "<"
|
341
341
|
- !ruby/object:Gem::Version
|
342
|
-
version:
|
342
|
+
version: 2.0.0
|
343
343
|
type: :runtime
|
344
344
|
prerelease: false
|
345
345
|
version_requirements: !ruby/object:Gem::Requirement
|
346
346
|
requirements:
|
347
347
|
- - ">="
|
348
348
|
- !ruby/object:Gem::Version
|
349
|
-
version: 0.
|
349
|
+
version: 1.0.0
|
350
350
|
- - "<"
|
351
351
|
- !ruby/object:Gem::Version
|
352
|
-
version:
|
352
|
+
version: 2.0.0
|
353
353
|
- !ruby/object:Gem::Dependency
|
354
354
|
name: produce
|
355
355
|
requirement: !ruby/object:Gem::Requirement
|