match 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +13 -0
- data/lib/match/generator.rb +2 -1
- data/lib/match/runner.rb +2 -2
- data/lib/match/version.rb +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 54d0caad76c482f80450aedc80b68b88b6b8fa51
|
4
|
+
data.tar.gz: dcedc940caf37ecfe77c1c3c26cd38d7b34c5725
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dca86d78e968958ebaec5c53ab53b0e936f17251255a853e504d6646a14b39c74fe49d9f70ded06ca93f9a85a94c227f02b9f6ffebb5596ea90581f3ff29a676
|
7
|
+
data.tar.gz: 8fc7408f1bc350f74f5ce8131a6431e1f69aecea56bd6995d450f3d65fd402516620f039eb1e38ac81c8e19d04cc7174355ed46fdb1c508f6711fa8a66435c41
|
data/README.md
CHANGED
@@ -126,6 +126,10 @@ app_identifier "tools.fastlane.app"
|
|
126
126
|
username "user@fastlane.tools"
|
127
127
|
```
|
128
128
|
|
129
|
+
#### Important: Use one git repo per team
|
130
|
+
|
131
|
+
`match` was designed to have one git repository per Apple account. If you work in multiple teams, please create one repo for each of them. More information on [codesigning.guide](https://codesigning.guide)
|
132
|
+
|
129
133
|
### Run
|
130
134
|
|
131
135
|
> Before running `match` for the first time, you should consider clearing your existing profiles and certificates using the [match nuke command](#nuke).
|
@@ -293,6 +297,15 @@ match change_password
|
|
293
297
|
|
294
298
|
You'll be asked for the new password on all your machines on the next run.
|
295
299
|
|
300
|
+
### Manual Decrypt
|
301
|
+
|
302
|
+
If you want to manually decrypt a file you can.
|
303
|
+
|
304
|
+
```
|
305
|
+
openssl aes-256-cbc -k "<password>" -in "<fileYouWantToDecryptPath>" -out "<decryptedFilePath>" -a -d
|
306
|
+
```
|
307
|
+
|
308
|
+
|
296
309
|
## Is this secure?
|
297
310
|
|
298
311
|
Both your keys and provisioning profiles are encrypted using OpenSSL using a passphrase.
|
data/lib/match/generator.rb
CHANGED
@@ -35,7 +35,8 @@ module Match
|
|
35
35
|
def self.generate_provisioning_profile(params: nil, prov_type: nil, certificate_id: nil)
|
36
36
|
require 'sigh'
|
37
37
|
|
38
|
-
prov_type = :enterprise if Match.enterprise? && ENV["SIGH_PROFILE_ENTERPRISE"]
|
38
|
+
prov_type = :enterprise if Match.enterprise? && ENV["SIGH_PROFILE_ENTERPRISE"] && !params[:type] == "development"
|
39
|
+
|
39
40
|
profile_name = ["match", profile_type_name(prov_type), params[:app_identifier]].join(" ")
|
40
41
|
|
41
42
|
arguments = FastlaneCore::Configuration.create(Sigh::Options.available_options, {
|
data/lib/match/runner.rb
CHANGED
@@ -23,7 +23,7 @@ module Match
|
|
23
23
|
spaceship.profile_exists(params, uuid) if spaceship
|
24
24
|
|
25
25
|
# Done
|
26
|
-
if self.changes_to_commit
|
26
|
+
if self.changes_to_commit and !params[:readonly]
|
27
27
|
message = GitHelper.generate_commit_message(params)
|
28
28
|
GitHelper.commit_changes(params[:workspace], message, params[:git_url])
|
29
29
|
end
|
@@ -69,7 +69,7 @@ module Match
|
|
69
69
|
def profile(params: nil, certificate_id: nil)
|
70
70
|
prov_type = params[:type].to_sym
|
71
71
|
|
72
|
-
profile_name = [prov_type
|
72
|
+
profile_name = [Match::Generator.profile_type_name(prov_type), params[:app_identifier]].join("_").gsub("*", '\*') # this is important, as it shouldn't be a wildcard
|
73
73
|
profiles = Dir[File.join(params[:workspace], "profiles", prov_type.to_s, "#{profile_name}.mobileprovision")]
|
74
74
|
|
75
75
|
# Install the provisioning profiles
|
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.2.
|
4
|
+
version: 0.2.5
|
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-01-
|
11
|
+
date: 2016-01-21 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.
|
33
|
+
version: 0.35.0
|
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.
|
43
|
+
version: 0.35.0
|
44
44
|
- - "<"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: 1.0.0
|
@@ -90,7 +90,7 @@ dependencies:
|
|
90
90
|
requirements:
|
91
91
|
- - ">="
|
92
92
|
- !ruby/object:Gem::Version
|
93
|
-
version: 1.2.
|
93
|
+
version: 1.2.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.2.
|
103
|
+
version: 1.2.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.2.
|
113
|
+
version: 1.2.8
|
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.2.
|
123
|
+
version: 1.2.8
|
124
124
|
- - "<"
|
125
125
|
- !ruby/object:Gem::Version
|
126
126
|
version: 2.0.0
|
@@ -296,7 +296,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
296
296
|
version: '0'
|
297
297
|
requirements: []
|
298
298
|
rubyforge_project:
|
299
|
-
rubygems_version: 2.4.
|
299
|
+
rubygems_version: 2.4.0
|
300
300
|
signing_key:
|
301
301
|
specification_version: 4
|
302
302
|
summary: Easily sync your certificates and profiles across your team using git
|