Skip to content

Commit

Permalink
FIX Resolve next-patch branch for wildcard repos
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli committed Aug 1, 2024
1 parent 335e054 commit c167c4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion update_command.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
}
cmd("git remote add pr-remote $prOrigin", $MODULE_DIR);

$useDefaultBranch = has_wildcard_major_version_mapping() || $branchOption === 'github-default';
$useDefaultBranch = (has_wildcard_major_version_mapping() && !current_branch_name_is_numeric_style()) || $branchOption === 'github-default';

if ($input->getOption('update-prs')) {
// checkout latest existing pr branch
Expand Down

0 comments on commit c167c4c

Please sign in to comment.