Skip to content

Commit 394c731

Browse files
committed
Try fixing failing public interface job
1 parent 90b2eae commit 394c731

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fastlane/Fastfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,7 @@ lane :validate_public_interface do
823823
sh('interface-analyser analysis ../Sources/ public_interface_current.json')
824824

825825
# Checkout the target branch
826-
target_branch = original_branch.include?('release/') ? 'main' : 'develop'
826+
target_branch = original_branch.include?('release/') ? 'main' : original_branch
827827
sh("git fetch origin #{target_branch}")
828828
sh("git checkout #{target_branch}")
829829

0 commit comments

Comments
 (0)