Skip to content

Commit

Permalink
build(bin/release) release on branch v3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
lucatume committed Feb 20, 2024
1 parent 0e1d090 commit cd79a4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/release
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function args()
'checkDiff' => empty($options['no-diff-check']),
'checkUnpushed' => empty($options['no-unpushed-check']),
'dryRun' => isset($options['dry-run']),
'releaseBranch' => $options['release-branch'] ?? 'master'
'releaseBranch' => $options['release-branch'] ?? 'v3.5'
];

return static function ($key, $default = null) use ($map) {
Expand All @@ -69,7 +69,7 @@ if (!in_array($args('releaseType'), ['major', 'minor', 'patch'], true)) {
}

$dryRun = $args('dryRun', false);
$releaseBranch = $args('releaseBranch', 'master');
$releaseBranch = $args('releaseBranch', 'v3.5');

if (!$dryRun) {
$currentGitBranch = trim(shell_exec('git rev-parse --abbrev-ref HEAD'));
Expand Down

0 comments on commit cd79a4b

Please sign in to comment.