We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 73ffc06 + 0bb4414 commit 6834870Copy full SHA for 6834870
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