We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea7c719 commit 0bb4414Copy full SHA for 0bb4414
1 file changed
admin/create-new-changelog.php
@@ -29,7 +29,9 @@ function replace_file_content(string $path, string $pattern, string $replace): v
29
$isMinorUpdate = ($minorCurrent !== $minor);
30
31
// Creates a branch for release.
32
-system('git switch develop');
+if (! $isMinorUpdate) {
33
+ system('git switch develop');
34
+}
35
system('git switch -c docs-changelog-' . $version);
36
system('git switch docs-changelog-' . $version);
37
0 commit comments