Skip to content

Commit

Permalink
fix: Remove git version name suffix for TestFlight builds (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
mirland authored Jan 26, 2023
1 parent 039bb11 commit f922b6a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ios/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ platform :ios do
"* **`APPSTORE_CONNECT_API_KEY_BASE_64_CONTENT`**: The api key base64 content"
lane :generate_release_ipa do |options|
upload_symbols = options[:upload_symbols] || true
include_git_version_suffix = options[:include_git_version_suffix] || false
sign_enabled = options[:setup_signing] || true
if sign_enabled
set_signing
Expand All @@ -120,7 +121,7 @@ platform :ios do
build_platform: 'ipa',
build_type: 'release',
flavor: env,
include_git_version_suffix: true,
include_git_version_suffix: include_git_version_suffix,
export_method: build_export_method,
)

Expand Down Expand Up @@ -159,6 +160,7 @@ platform :ios do
env: 'dev',
build_export_method: 'ad-hoc',
firebase_app_id: ENV['FIREBASE_APP_ID_DEV'],
include_git_version_suffix: true,
)

firebase_app_distribution(
Expand All @@ -184,6 +186,7 @@ platform :ios do
env: 'prod',
build_export_method: 'app-store',
firebase_app_id: ENV['FIREBASE_APP_ID_PROD'],
include_git_version_suffix: false,
)
upload_to_testflight(skip_waiting_for_build_processing: true)
end
Expand Down

0 comments on commit f922b6a

Please sign in to comment.