mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-24 04:59:26 +01:00
Merge branch 'krille/update-ios-fastlane' into 'main'
CI: Update iOS fastlane See merge request famedly/fluffychat!589
This commit is contained in:
commit
227e8ce0eb
@ -18,9 +18,16 @@ default_platform(:ios)
|
|||||||
platform :ios do
|
platform :ios do
|
||||||
desc "Push a new beta build to TestFlight"
|
desc "Push a new beta build to TestFlight"
|
||||||
lane :beta do
|
lane :beta do
|
||||||
increment_build_number(xcodeproj: "Runner.xcodeproj")
|
increment_build_number(
|
||||||
build_app(workspace: "Runner.xcworkspace", scheme: "Runner")
|
xcodeproj: "Runner.xcodeproj",
|
||||||
upload_to_testflight
|
build_number: latest_testflight_build_number + 1
|
||||||
|
)
|
||||||
|
re = /version:\s([0-9]*\.[0-9]*\.[0-9]*)\+[0-9]*/i
|
||||||
|
config = File.read("../../pubspec.yaml")
|
||||||
|
version_name = config.match(re).captures[0]
|
||||||
|
increment_version_number(version_number: version_name)
|
||||||
|
#build_app(workspace: "Runner.xcworkspace", scheme: "Runner")
|
||||||
|
#upload_to_testflight
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -3,6 +3,8 @@ git apply ./scripts/enable-android-google-services.patch
|
|||||||
flutter clean
|
flutter clean
|
||||||
flutter pub get
|
flutter pub get
|
||||||
cd ios
|
cd ios
|
||||||
|
rm -rf Pods
|
||||||
|
rm Podfile.lock
|
||||||
pod install
|
pod install
|
||||||
pod update
|
pod update
|
||||||
cd ..
|
cd ..
|
||||||
|
Loading…
Reference in New Issue
Block a user