From cd79a4bb01e59be15fe449fe1ebaf4512f417c3d Mon Sep 17 00:00:00 2001 From: Luca Tumedei Date: Tue, 20 Feb 2024 11:18:15 +0100 Subject: [PATCH] build(bin/release) release on branch v3.5 --- bin/release | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/release b/bin/release index 01657293d..561672740 100755 --- a/bin/release +++ b/bin/release @@ -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) { @@ -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'));