We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90b2eae commit 394c731Copy full SHA for 394c731
fastlane/Fastfile
@@ -823,7 +823,7 @@ lane :validate_public_interface do
823
sh('interface-analyser analysis ../Sources/ public_interface_current.json')
824
825
# Checkout the target branch
826
- target_branch = original_branch.include?('release/') ? 'main' : 'develop'
+ target_branch = original_branch.include?('release/') ? 'main' : original_branch
827
sh("git fetch origin #{target_branch}")
828
sh("git checkout #{target_branch}")
829
0 commit comments