match 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -10
- data/lib/match/git_helper.rb +4 -1
- data/lib/match/runner.rb +2 -0
- data/lib/match/utils.rb +7 -1
- data/lib/match/version.rb +1 -1
- metadata +12 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7d0367ebbd35eee9ee47b25a0734135b7c581d4
|
4
|
+
data.tar.gz: af1eed433bd624b38b68a04f0b2810beba05da74
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e27b794c23fac1878dbd1a814ab910244d965247fd387d2d84d06ad2dd96e0fee9d96750792420e3767b18631cedd6c639ffd5f29ef2a8716447627da104a558
|
7
|
+
data.tar.gz: 41a7f0fd1c24d790147a3e03c94c7ac8cb31402a4d79f89bcfdbeddafb55d511eb30af092c70ba651c15101a815aa141e274570614430c8e2dcb95e44dc1ad13
|
data/README.md
CHANGED
@@ -290,21 +290,13 @@ match(app_identifier: "tools.fastlane.app.today_widget", type: "appstore")
|
|
290
290
|
|
291
291
|
### Setup Xcode project
|
292
292
|
|
293
|
-
[Docs on how to set up your Xcode project](
|
293
|
+
[Docs on how to set up your Xcode project](https://docs.fastlane.tools/codesigning/XcodeProject/)
|
294
294
|
|
295
295
|
#### To build from the command line using [fastlane](https://fastlane.tools)
|
296
296
|
|
297
297
|
`match` automatically pre-fills environment variables with the UUIDs of the correct provisioning profiles, ready to be used in your Xcode project.
|
298
298
|
|
299
|
-
|
300
|
-
|
301
|
-
Open your target settings, open the dropdown for `Provisioning Profile` and select `Other`:
|
302
|
-
|
303
|
-
<img src="assets/XcodeProjectSettings.png" width="700" />
|
304
|
-
|
305
|
-
Profile environment variables are named after `$(sigh_<bundle_identifier>_<profile_type>)`
|
306
|
-
|
307
|
-
e.g. `$(sigh_tools.fastlane.app_development)`
|
299
|
+
More information about how to setup your Xcode project can be found [here](https://docs.fastlane.tools/codesigning/XcodeProject/)
|
308
300
|
|
309
301
|
#### To build from Xcode manually
|
310
302
|
|
data/lib/match/git_helper.rb
CHANGED
@@ -62,7 +62,7 @@ module Match
|
|
62
62
|
commands = []
|
63
63
|
commands << "git add -A"
|
64
64
|
commands << "git commit -m #{message.shellescape}"
|
65
|
-
commands << "git push origin #{branch.shellescape}"
|
65
|
+
commands << "GIT_TERMINAL_PROMPT=0 git push origin #{branch.shellescape}"
|
66
66
|
|
67
67
|
UI.message "Pushing changes to remote git repo..."
|
68
68
|
|
@@ -74,6 +74,9 @@ module Match
|
|
74
74
|
end
|
75
75
|
FileUtils.rm_rf(path)
|
76
76
|
@dir = nil
|
77
|
+
rescue => ex
|
78
|
+
UI.error("Couldn't commit or push changes back to git...")
|
79
|
+
UI.error(ex)
|
77
80
|
end
|
78
81
|
|
79
82
|
def self.clear_changes
|
data/lib/match/runner.rb
CHANGED
@@ -7,6 +7,8 @@ module Match
|
|
7
7
|
hide_keys: [:workspace],
|
8
8
|
title: "Summary for match #{Match::VERSION}")
|
9
9
|
|
10
|
+
UI.error("Enterprise profiles are currently not officially supported in _match_, you might run into issues") if Match.enterprise?
|
11
|
+
|
10
12
|
params[:workspace] = GitHelper.clone(params[:git_url], params[:shallow_clone], skip_docs: params[:skip_docs], branch: params[:git_branch])
|
11
13
|
spaceship = SpaceshipEnsure.new(params[:username]) unless params[:readonly]
|
12
14
|
|
data/lib/match/utils.rb
CHANGED
@@ -9,9 +9,15 @@ module Match
|
|
9
9
|
# as the keychain path.
|
10
10
|
#
|
11
11
|
# We need to expand each path because File.exist? won't handle directories including ~ properly
|
12
|
+
#
|
13
|
+
# We also try to append `-db` at the end of the file path, as with Sierra the default Keychain name
|
14
|
+
# has changed for some users: https://github.com/fastlane/fastlane/issues/5649
|
15
|
+
#
|
12
16
|
keychain_paths = [
|
13
17
|
File.join(Dir.home, 'Library', 'Keychains', keychain),
|
14
|
-
keychain
|
18
|
+
File.join(Dir.home, 'Library', 'Keychains', "#{keychain}-db"),
|
19
|
+
keychain,
|
20
|
+
"#{keychain}-db"
|
15
21
|
].map { |path| File.expand_path(path) }
|
16
22
|
|
17
23
|
keychain_path = keychain_paths.find { |path| File.exist?(path) }
|
data/lib/match/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: match
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-10-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: security
|
@@ -30,7 +30,7 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.52.
|
33
|
+
version: 0.52.1
|
34
34
|
- - "<"
|
35
35
|
- !ruby/object:Gem::Version
|
36
36
|
version: 1.0.0
|
@@ -40,7 +40,7 @@ dependencies:
|
|
40
40
|
requirements:
|
41
41
|
- - ">="
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version: 0.52.
|
43
|
+
version: 0.52.1
|
44
44
|
- - "<"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: 1.0.0
|
@@ -50,7 +50,7 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - ">="
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 0.16.
|
53
|
+
version: 0.16.1
|
54
54
|
- - "<"
|
55
55
|
- !ruby/object:Gem::Version
|
56
56
|
version: 1.0.0
|
@@ -60,7 +60,7 @@ dependencies:
|
|
60
60
|
requirements:
|
61
61
|
- - ">="
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: 0.16.
|
63
|
+
version: 0.16.1
|
64
64
|
- - "<"
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: 1.0.0
|
@@ -70,7 +70,7 @@ dependencies:
|
|
70
70
|
requirements:
|
71
71
|
- - ">="
|
72
72
|
- !ruby/object:Gem::Version
|
73
|
-
version: 0.
|
73
|
+
version: 0.34.2
|
74
74
|
- - "<"
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: 1.0.0
|
@@ -80,7 +80,7 @@ dependencies:
|
|
80
80
|
requirements:
|
81
81
|
- - ">="
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version: 0.
|
83
|
+
version: 0.34.2
|
84
84
|
- - "<"
|
85
85
|
- !ruby/object:Gem::Version
|
86
86
|
version: 1.0.0
|
@@ -90,7 +90,7 @@ dependencies:
|
|
90
90
|
requirements:
|
91
91
|
- - ">="
|
92
92
|
- !ruby/object:Gem::Version
|
93
|
-
version: 1.11.
|
93
|
+
version: 1.11.2
|
94
94
|
- - "<"
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: 2.0.0
|
@@ -100,7 +100,7 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - ">="
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 1.11.
|
103
|
+
version: 1.11.2
|
104
104
|
- - "<"
|
105
105
|
- !ruby/object:Gem::Version
|
106
106
|
version: 2.0.0
|
@@ -110,7 +110,7 @@ dependencies:
|
|
110
110
|
requirements:
|
111
111
|
- - ">="
|
112
112
|
- !ruby/object:Gem::Version
|
113
|
-
version: 1.4.
|
113
|
+
version: 1.4.3
|
114
114
|
- - "<"
|
115
115
|
- !ruby/object:Gem::Version
|
116
116
|
version: 2.0.0
|
@@ -120,7 +120,7 @@ dependencies:
|
|
120
120
|
requirements:
|
121
121
|
- - ">="
|
122
122
|
- !ruby/object:Gem::Version
|
123
|
-
version: 1.4.
|
123
|
+
version: 1.4.3
|
124
124
|
- - "<"
|
125
125
|
- !ruby/object:Gem::Version
|
126
126
|
version: 2.0.0
|