Skip to content
This repository was archived by the owner on Sep 19, 2024. It is now read-only.

Commit b5c0b21

Browse files
committed
Add skip branch check option
1 parent 594965c commit b5c0b21

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

fastlane/Fastfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
fastlane_version "1.86.0"
22

33
lane :release do |options|
4-
ensure_git_branch(branch: "master")
4+
if options[:skip_branch_check] != true
5+
ensure_git_branch(branch: "master")
6+
end
57

68
if options[:allow_dirty_branch] != true
79
ensure_git_status_clean

0 commit comments

Comments
 (0)