Skip to content

High performance self-hosted photo and video management solution.

fix: strip rc suffix from iOS marketing version (#28741)

bo0tzz61cd69a28661
diff --git a/mobile/ios/fastlane/Fastfile b/mobile/ios/fastlane/Fastfile
index f5f7f7887a..17fa91786e 100644
--- a/mobile/ios/fastlane/Fastfile
+++ b/mobile/ios/fastlane/Fastfile
@@ -49,7 +49,7 @@ def get_version_from_pubspec
pubspec = YAML.load_file(pubspec_path)
version_string = pubspec['version']
- version_string ? version_string.split('+').first : nil
+ version_string ? version_string.split('+').first.split('-').first : nil
end
# Helper method to configure code signing for all targets