Skip to content

Commit 19cc829

Browse files
committed
chore: fetch mac installer distribution certificate via match
1 parent c481494 commit 19cc829

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Fastlane/provisioning_lanes.rb

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828
type: 'appstore',
2929
readonly: true,
3030
platform: 'macos',
31-
app_identifier: ENV["MACOS_APP_IDENTIFIERS"]
31+
app_identifier: ENV["MACOS_APP_IDENTIFIERS"],
32+
additional_cert_types: ["mac_installer_distribution"]
3233
)
3334
end
3435
end
@@ -66,7 +67,8 @@
6667
type: 'appstore',
6768
readonly: false,
6869
platform: 'macos',
69-
app_identifier: ENV["MACOS_APP_IDENTIFIERS"]
70+
app_identifier: ENV["MACOS_APP_IDENTIFIERS"],
71+
additional_cert_types: ["mac_installer_distribution"]
7072
)
7173
end
7274
end
@@ -80,7 +82,8 @@
8082
api_key: api_key,
8183
readonly: options[:readonly],
8284
platform: options[:platform],
83-
app_identifier: options.fetch(:app_identifier, ENV["APP_IDENTIFIERS"])
85+
app_identifier: options.fetch(:app_identifier, ENV["APP_IDENTIFIERS"]),
86+
additional_cert_types: options.fetch(:additional_cert_types, [])
8487
)
8588
end
8689

0 commit comments

Comments
 (0)