Skip to content

Commit

Permalink
Replace checking out default branch with release branch check
Browse files Browse the repository at this point in the history
  • Loading branch information
spencertransier committed Nov 30, 2023
1 parent 68bcf78 commit 89f08f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -494,8 +494,8 @@ platform :ios do
# Verify that there's nothing in progress in the working copy
ensure_git_status_clean

# Check out the up-to-date default branch, the designated starting point for the code freeze
Fastlane::Helper::GitHelper.checkout_and_pull(DEFAULT_BRANCH)
# Verify that the current branch is a release branch. Notice that `ensure_git_branch` expects a RegEx parameter
ensure_git_branch(branch: '^release/')

# Check versions
message = <<-MESSAGE
Expand Down

0 comments on commit 89f08f2

Please sign in to comment.