We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe1a1e0 commit db8f37cCopy full SHA for db8f37c
1 file changed
fastlane/Fastfile
@@ -8,8 +8,11 @@ platform :ios do
8
private_lane :fetch_latest_testflight_build_number do |options|
9
require "spaceship"
10
11
+ apiKey = options[:api_key]
12
versionNumber = options[:version]
13
14
+ Spaceship::ConnectAPI.token = Spaceship::ConnectAPI::Token.create(**apiKey)
15
+
16
app = Spaceship::ConnectAPI::App.find(APP_IDENTIFIER)
17
UI.user_error!("Could not find app for #{APP_IDENTIFIER}") if app.nil?
18
@@ -57,6 +60,7 @@ platform :ios do
57
60
)
58
61
59
62
latestTestflightBuildNumber = fetch_latest_testflight_build_number(
63
+ api_key: api_key,
64
version: versionNumber
65
66
0 commit comments