Merge branch 'krille/ios-fastlane' into 'main'

CI: Update iOS fastlane

See merge request famedly/fluffychat!590
This commit is contained in:
Krille Fear 2021-11-27 11:31:47 +00:00
commit 57806ab705
3 changed files with 4 additions and 3 deletions

View File

@ -26,8 +26,8 @@ platform :ios do
config = File.read("../../pubspec.yaml") config = File.read("../../pubspec.yaml")
version_name = config.match(re).captures[0] version_name = config.match(re).captures[0]
increment_version_number(version_number: version_name) increment_version_number(version_number: version_name)
#build_app(workspace: "Runner.xcworkspace", scheme: "Runner") build_app(workspace: "Runner.xcworkspace", scheme: "Runner")
#upload_to_testflight upload_to_testflight
end end
end end

View File

@ -7,6 +7,7 @@ import Foundation
import audioplayers import audioplayers
import file_selector_macos import file_selector_macos
import firebase_core
import flutter_local_notifications import flutter_local_notifications
import geolocator_apple import geolocator_apple
import package_info import package_info
@ -20,6 +21,7 @@ import wakelock_macos
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
AudioplayersPlugin.register(with: registry.registrar(forPlugin: "AudioplayersPlugin")) AudioplayersPlugin.register(with: registry.registrar(forPlugin: "AudioplayersPlugin"))
FileSelectorPlugin.register(with: registry.registrar(forPlugin: "FileSelectorPlugin")) FileSelectorPlugin.register(with: registry.registrar(forPlugin: "FileSelectorPlugin"))
FLTFirebaseCorePlugin.register(with: registry.registrar(forPlugin: "FLTFirebaseCorePlugin"))
FlutterLocalNotificationsPlugin.register(with: registry.registrar(forPlugin: "FlutterLocalNotificationsPlugin")) FlutterLocalNotificationsPlugin.register(with: registry.registrar(forPlugin: "FlutterLocalNotificationsPlugin"))
GeolocatorPlugin.register(with: registry.registrar(forPlugin: "GeolocatorPlugin")) GeolocatorPlugin.register(with: registry.registrar(forPlugin: "GeolocatorPlugin"))
FLTPackageInfoPlugin.register(with: registry.registrar(forPlugin: "FLTPackageInfoPlugin")) FLTPackageInfoPlugin.register(with: registry.registrar(forPlugin: "FLTPackageInfoPlugin"))

View File

@ -10,7 +10,6 @@ pod update
cd .. cd ..
flutter build ios --release flutter build ios --release
cd ios cd ios
bundle install
bundle update fastlane bundle update fastlane
bundle exec fastlane beta bundle exec fastlane beta
cd .. cd ..