From b3fa1915dab33aff487ad8b86033ab6f6a5ee79b Mon Sep 17 00:00:00 2001 From: Andy Brett Date: Tue, 18 Aug 2020 14:30:02 -0700 Subject: [PATCH] fastlane release lane --- fastlane/Fastfile | 18 +++++++++++++++++- fastlane/README.md | 5 +++++ 2 files changed, 22 insertions(+), 1 deletion(-) 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 +``` + ----