Skip to content

Commit ed31ea8

Browse files
committed
Patch fastlane Developer ID certificate type
1 parent 2ddaa32 commit ed31ea8

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

fastlane/macos/Fastfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ require "shellwords"
88
require "tempfile"
99
require "tmpdir"
1010
require "yaml"
11+
require_relative "../patches/developer_id_application_certificate_type_patch"
1112

1213
def shell_escape(value)
1314
Shellwords.escape(value)
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
require "cert/runner"
2+
require "spaceship"
3+
4+
module VizorFastlanePatches
5+
module DeveloperIdApplicationCertificateTypePatch
6+
def certificate_type
7+
if Cert.config[:type].to_s == "developer_id_application"
8+
return Spaceship::ConnectAPI::Certificate::CertificateType::DEVELOPER_ID_APPLICATION
9+
end
10+
11+
super
12+
end
13+
end
14+
end
15+
16+
Cert::Runner.prepend(VizorFastlanePatches::DeveloperIdApplicationCertificateTypePatch)

0 commit comments

Comments
 (0)