fastlane 2.26.0.beta.20170406010019 → 2.26.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/match/lib/match/change_password.rb +0 -1
- data/match/lib/match/git_helper.rb +0 -23
- data/match/lib/match/nuke.rb +0 -2
- data/match/lib/match/runner.rb +0 -3
- data/sigh/lib/assets/resign.sh +3 -3
- metadata +15 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 242634a3c8d2c1d9b29756ee9cd63e73cea7bb3e
|
4
|
+
data.tar.gz: 76e23d95a85f4a2665f79189fd92941dd867a475
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4882fc626f48cd38b595292cfa9453d98c938af5b2f8c3bf8ebadcd05b375cf9dadbb220694b9781ffbd051a18d29eff04e79d2579da4327298fbb082ee3196c
|
7
|
+
data.tar.gz: 69e5d4a9caca2872d3a533091b81dd1407c3ec89ae50ab69247220774ed99cbc6d57aebf03b8d4fbd73375a7fe19e39760c55826e4433d4e1151cc5d0ced96c1
|
@@ -7,7 +7,6 @@ module Match
|
|
7
7
|
from ||= ChangePassword.ask_password(message: "Old passphrase for Git Repo: ", confirm: true)
|
8
8
|
GitHelper.clear_changes
|
9
9
|
workspace = GitHelper.clone(params[:git_url], params[:shallow_clone], manual_password: from, skip_docs: params[:skip_docs], branch: params[:git_branch])
|
10
|
-
GitHelper.check_push_repo_permission(workspace, params[:git_branch])
|
11
10
|
Encrypt.new.clear_password(params[:git_url])
|
12
11
|
Encrypt.new.store_password(params[:git_url], to)
|
13
12
|
|
@@ -156,28 +156,5 @@ module Match
|
|
156
156
|
end
|
157
157
|
end
|
158
158
|
end
|
159
|
-
|
160
|
-
# Checks push permission to git repo
|
161
|
-
def self.repo_pushable?(path, branch = "master")
|
162
|
-
Dir.chdir(path) do
|
163
|
-
command = "GIT_TERMINAL_PROMPT=0 git push origin #{branch.shellescape} --dry-run"
|
164
|
-
FastlaneCore::CommandExecutor.execute(command: command,
|
165
|
-
print_all: FastlaneCore::Globals.verbose?,
|
166
|
-
print_command: FastlaneCore::Globals.verbose?)
|
167
|
-
end
|
168
|
-
return true
|
169
|
-
rescue => ex
|
170
|
-
UI.error("No permission to push...")
|
171
|
-
UI.error(ex)
|
172
|
-
return false
|
173
|
-
end
|
174
|
-
|
175
|
-
def self.check_push_repo_permission(path, branch = "master")
|
176
|
-
unless repo_pushable?(path, branch)
|
177
|
-
UI.error("You do not have push permission to git repository provided")
|
178
|
-
UI.error("_match_ needs to create a new certificate or provisioning profile, however without push access to the git repo, the generated certificate can't be stored properly, resulting in an unused certificate")
|
179
|
-
UI.user_error!("Please grant push access for the current git user to the git repo, so that _match_ can update and create certificates for you")
|
180
|
-
end
|
181
|
-
end
|
182
159
|
end
|
183
160
|
end
|
data/match/lib/match/nuke.rb
CHANGED
@@ -26,8 +26,6 @@ module Match
|
|
26
26
|
UI.user_error!("`fastlane match nuke` doesn't delete anything when running with --readonly enabled")
|
27
27
|
end
|
28
28
|
|
29
|
-
GitHelper.check_push_repo_permission(params[:workspace], params[:git_branch])
|
30
|
-
|
31
29
|
if (self.certs + self.profiles + self.files).count > 0
|
32
30
|
unless params[:skip_confirmation]
|
33
31
|
UI.error "---"
|
data/match/lib/match/runner.rb
CHANGED
@@ -74,7 +74,6 @@ module Match
|
|
74
74
|
if certs.count == 0 or keys.count == 0
|
75
75
|
UI.important "Couldn't find a valid code signing identity in the git repo for #{cert_type}... creating one for you now"
|
76
76
|
UI.crash!("No code signing identity found and can not create a new one because you enabled `readonly`") if params[:readonly]
|
77
|
-
GitHelper.check_push_repo_permission(params[:workspace], params[:git_branch])
|
78
77
|
cert_path = Generator.generate_certificate(params, cert_type)
|
79
78
|
self.changes_to_commit = true
|
80
79
|
else
|
@@ -128,8 +127,6 @@ module Match
|
|
128
127
|
UI.error "If you are certain that a profile should exist, double-check the recent changes to your match repository"
|
129
128
|
UI.user_error! "No matching provisioning profiles found and can not create a new one because you enabled `readonly`. Check the output above for more information."
|
130
129
|
end
|
131
|
-
|
132
|
-
GitHelper.check_push_repo_permission(params[:workspace], params[:git_branch])
|
133
130
|
profile = Generator.generate_provisioning_profile(params: params,
|
134
131
|
prov_type: prov_type,
|
135
132
|
certificate_id: certificate_id,
|
data/sigh/lib/assets/resign.sh
CHANGED
@@ -729,6 +729,9 @@ function resign {
|
|
729
729
|
|
730
730
|
log "Removing blacklisted keys from patched profile"
|
731
731
|
# See https://github.com/facebook/buck/issues/798 and https://github.com/facebook/buck/pull/802/files
|
732
|
+
|
733
|
+
# Update in https://github.com/facebook/buck/commit/99c0fbc3ab5ecf04d186913374f660683deccdef
|
734
|
+
# Update in https://github.com/facebook/buck/commit/36db188da9f6acbb9df419dc1904315ab00c4e19
|
732
735
|
BLACKLISTED_KEYS=(\
|
733
736
|
"com.apple.developer.icloud-container-development-container-identifiers" \
|
734
737
|
"com.apple.developer.icloud-container-environment" \
|
@@ -741,10 +744,7 @@ function resign {
|
|
741
744
|
"com.apple.developer.homekit" \
|
742
745
|
"com.apple.developer.healthkit" \
|
743
746
|
"com.apple.developer.in-app-payments" \
|
744
|
-
"com.apple.developer.associated-domains" \
|
745
|
-
"com.apple.security.application-groups" \
|
746
747
|
"com.apple.developer.maps" \
|
747
|
-
"com.apple.developer.networking.vpn.api" \
|
748
748
|
"com.apple.external-accessory.wireless-configuration"
|
749
749
|
)
|
750
750
|
|
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.26.0
|
4
|
+
version: 2.26.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
@@ -1297,23 +1297,23 @@ metadata:
|
|
1297
1297
|
post_install_message:
|
1298
1298
|
rdoc_options: []
|
1299
1299
|
require_paths:
|
1300
|
-
-
|
1301
|
-
- frameit/lib
|
1302
|
-
- gym/lib
|
1300
|
+
- cert/lib
|
1303
1301
|
- credentials_manager/lib
|
1304
|
-
-
|
1305
|
-
-
|
1306
|
-
- snapshot/lib
|
1302
|
+
- deliver/lib
|
1303
|
+
- fastlane/lib
|
1307
1304
|
- fastlane_core/lib
|
1305
|
+
- frameit/lib
|
1306
|
+
- gym/lib
|
1307
|
+
- match/lib
|
1308
|
+
- pem/lib
|
1308
1309
|
- pilot/lib
|
1309
1310
|
- produce/lib
|
1310
1311
|
- scan/lib
|
1311
|
-
- deliver/lib
|
1312
|
-
- pem/lib
|
1313
1312
|
- screengrab/lib
|
1314
|
-
-
|
1315
|
-
-
|
1313
|
+
- sigh/lib
|
1314
|
+
- snapshot/lib
|
1316
1315
|
- spaceship/lib
|
1316
|
+
- supply/lib
|
1317
1317
|
required_ruby_version: !ruby/object:Gem::Requirement
|
1318
1318
|
requirements:
|
1319
1319
|
- - ">="
|
@@ -1321,14 +1321,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
1321
1321
|
version: 2.0.0
|
1322
1322
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1323
1323
|
requirements:
|
1324
|
-
- - "
|
1324
|
+
- - ">="
|
1325
1325
|
- !ruby/object:Gem::Version
|
1326
|
-
version:
|
1326
|
+
version: '0'
|
1327
1327
|
requirements: []
|
1328
1328
|
rubyforge_project:
|
1329
|
-
rubygems_version: 2.
|
1329
|
+
rubygems_version: 2.6.10
|
1330
1330
|
signing_key:
|
1331
1331
|
specification_version: 4
|
1332
1332
|
summary: The easiest way to automate beta deployments and releases for your iOS and
|
1333
1333
|
Android apps
|
1334
1334
|
test_files: []
|
1335
|
+
has_rdoc:
|