Skip to content

Commit 9e5bda7

Browse files
committed
fix: Apply suggestions
1 parent f5634b9 commit 9e5bda7

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

admin/RELEASE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ the existing content.
126126
and `<version number="4.x.x">`
127127
* Update **admin/starter/builds**:
128128
* Set `define('LATEST_RELEASE', '^4.x')`
129-
* Set `define('NEXT_MINOR', '^4.y-dev')`.
130-
* If the major version changes, you need to manually change to `define('NEXT_MINOR', '^5.0-dev')`.
129+
* Set `define('NEXT_MINOR', '4.y-dev')`.
130+
* If the major version changes, you need to manually change to `define('NEXT_MINOR', '5.0-dev')`.
131131
* Commit the changes with `Prep for 4.x.x release`
132132
* [ ] Create a new PR from `release-4.x.x` to `develop`:
133133
* Title: `Prep for 4.x.x release`

admin/prepare-release.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function replace_file_content(string $path, string $pattern, string $replace): v
2525
$minor = $versionParts[0] . '.' . $versionParts[1];
2626

2727
// Note: Major version will change someday (4.x..5.x) - update manually.
28-
$nextVersion = $versionParts[0] . '.' . $versionParts[1] + 1;
28+
$nextMinor = $versionParts[0] . '.' . $versionParts[1] + 1;
2929

3030
// Creates a branch for release.
3131
system('git switch develop');
@@ -80,7 +80,7 @@ function replace_file_content(string $path, string $pattern, string $replace): v
8080
replace_file_content(
8181
'./admin/starter/builds',
8282
'/define\(\'NEXT_MINOR\', \'.*?\'\);/mu',
83-
"define('NEXT_MINOR', '^{$nextVersion}-dev');",
83+
"define('NEXT_MINOR', '{$nextMinor}-dev');",
8484
);
8585

8686
// Commits

admin/starter/builds

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
define('LATEST_RELEASE', '^4.7');
55
define('DEVELOP_BRANCH', 'dev-develop');
6-
define('NEXT_MINOR', '^4.8-dev');
6+
define('NEXT_MINOR', '4.8-dev');
77
define('GITHUB_URL', 'https://github.com/codeigniter4/codeigniter4');
88

99
/*

user_guide_src/source/changelogs/v4.7.1.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ Changes
2727
Others
2828
======
2929

30-
- **builds:** In the ``builds`` script (for ``codeigniter4/appstarter``), the ``next`` option has been added
31-
to switch ``4.7.x`` to the next minor version ``4.8-dev``. See :ref:`Latest Dev<switch-to-dev-version>`.
30+
- **builds:** In the ``builds`` script (for ``codeigniter4/appstarter``), the ``next`` argument has been added
31+
to switch ``4.7.x`` to the next minor version ``4.8.x-dev``. See :ref:`Latest Dev<switch-to-dev-version>`.
3232

3333
************
3434
Deprecations

0 commit comments

Comments
 (0)