Skip to content

Commit f256ae5

Browse files
committed
Use GitHelper.current_git_branch in ios finalize prechecks
1 parent 6b1eeee commit f256ae5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_finalize_prechecks.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def self.run(params)
88
require_relative '../../helper/ios/ios_git_helper'
99
require_relative '../../helper/git_helper'
1010

11-
current_branch = Fastlane::Actions.git_branch_name_using_HEAD
11+
current_branch = Fastlane::Helper::GitHelper.current_git_branch
1212
UI.user_error!("Current branch - '#{current_branch}' - is not a release branch. Abort.") unless current_branch.start_with?('release/')
1313

1414
version = Fastlane::Helper::Ios::VersionHelper.get_public_version

0 commit comments

Comments
 (0)