Skip to content

Commit

Permalink
fastlane release lane
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewpbrett committed Aug 18, 2020
1 parent 86e2c1f commit b3fa191
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
18 changes: 17 additions & 1 deletion fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -46,4 +46,20 @@ platform :ios do

upload_to_testflight(username: "[email protected]")
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
5 changes: 5 additions & 0 deletions fastlane/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ fastlane ios build
fastlane ios beta
```

### ios release
```
fastlane ios release
```


----

Expand Down

0 comments on commit b3fa191

Please sign in to comment.