Skip to content

Commit b3fa191

Browse files
committed
fastlane release lane
1 parent 86e2c1f commit b3fa191

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

fastlane/Fastfile

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ platform :ios do
3535
build_app(scheme: "BeeSwift")
3636

3737
# Commit the version bump
38-
commit_version_bump(xcodeproj: "BeeSwift.xcodeproj")
38+
commit_version_bump(message: "Bump build")
3939

4040
# Add a git tag for this build. This will automatically
4141
# use an appropriate git tag name
@@ -46,4 +46,20 @@ platform :ios do
4646

4747
upload_to_testflight(username: "andy@andybrett.com")
4848
end
49+
50+
lane :release do
51+
ensure_git_status_clean
52+
53+
increment_build_number(xcodeproj: "BeeSwift.xcodeproj")
54+
55+
build_app(scheme: "BeeSwift")
56+
57+
commit_version_bump(message: "Bump build")
58+
59+
add_git_tag
60+
61+
push_to_git_remote
62+
63+
upload_to_app_store
64+
end
4965
end

fastlane/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ fastlane ios build
3131
fastlane ios beta
3232
```
3333

34+
### ios release
35+
```
36+
fastlane ios release
37+
```
38+
3439

3540
----
3641

0 commit comments

Comments
 (0)