Skip to content

Commit 45fe695

Browse files
authored
fix(core): release script fixes for next beta (#1314)
1 parent cc5b0a6 commit 45fe695

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/release

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ function suggestNextVersions(string $current): array
203203
return array_filter([
204204
'next_alpha' => ! $isBeta ? sprintf('%d.%d.%d-alpha.%d', $major, $minor, $patch, $preRelease + 1) : null,
205205
'next_beta' => sprintf('%d.%d.%d-beta.%d', $major, $minor, $patch, $isBeta ? ($preRelease + 1) : 1),
206-
'next_major' => sprintf('%d.0.0', $major + 1),
206+
'next_major' => $isBeta ? sprintf('%d.0.0', $major) : sprintf('%d.0.0', $major + 1),
207207
]);
208208
}
209209

0 commit comments

Comments
 (0)