diff --git a/fastlane/Fastfile b/fastlane/Fastfile index b0393819..bc157f66 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -35,7 +35,7 @@ platform :ios do build_app(scheme: "BeeSwift") # Commit the version bump - commit_version_bump(xcodeproj: "BeeSwift.xcodeproj") + commit_version_bump(message: "Bump build") # Add a git tag for this build. This will automatically # use an appropriate git tag name @@ -46,4 +46,20 @@ platform :ios do upload_to_testflight(username: "andy@andybrett.com") end + + lane :release do + ensure_git_status_clean + + increment_build_number(xcodeproj: "BeeSwift.xcodeproj") + + build_app(scheme: "BeeSwift") + + commit_version_bump(message: "Bump build") + + add_git_tag + + push_to_git_remote + + upload_to_app_store + end end diff --git a/fastlane/README.md b/fastlane/README.md index 21e0ddab..b35acffb 100644 --- a/fastlane/README.md +++ b/fastlane/README.md @@ -31,6 +31,11 @@ fastlane ios build fastlane ios beta ``` +### ios release +``` +fastlane ios release +``` + ----