Skip to content

Commit 040c310

Browse files
committed
Fix fastlane
1 parent 38cd8f0 commit 040c310

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

fastlane/Fastfile

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ platform :ios do
117117
lane :upload_dsym_to_sentry do
118118
auth_token = get_xcconfig_value(
119119
path: 'Configs/Secrets.xcconfig',
120-
name: 'SENTRY_DSN'
120+
name: 'SENTRY_DSYM_TOKEN'
121121
)
122122

123123
sentry_debug_files_upload(
@@ -135,8 +135,17 @@ platform :ios do
135135
issuer_id: "814e488e-06ba-40ba-a16c-a63e7164023f",
136136
key_filepath: "Fastlane/AuthKey_X36R58TMRJ.p8"
137137
)
138+
139+
version = get_xcconfig_value(
140+
path: 'Configs/App.xcconfig',
141+
name: 'MARKETING_VERSION'
142+
)
143+
144+
ipa_name = "ForPDA_#{version}.ipa"
138145

139-
upload_to_testflight
146+
upload_to_testflight(
147+
ipa: "./build/#{ipa_name}"
148+
)
140149
end
141150

142151
desc "Notifies to all available channels"

0 commit comments

Comments
 (0)