Skip to content

Commit 9b1fffe

Browse files
authored
Merge pull request #8678 from kenjis/update-prepare-release
docs: slight update to release process
2 parents 7cc6a9f + 1079c80 commit 9b1fffe

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

admin/RELEASE.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Work off direct clones of the repos so the release branches persist for a time.
8888
> generating much new content.
8989
9090
* [ ] Replace **CHANGELOG.md** with the new version generated above
91-
* [ ] Update **user_guide_src/source/changelogs/{version}.rst**
91+
* [ ] Update **user_guide_src/source/changelogs/v4.x.x.rst**
9292
* Remove the section titles that have no items
9393
* [ ] Update **user_guide_src/source/installation/upgrade_{ver}.rst**
9494
* fill in the "All Changes" section, and add it to **upgrading.rst**
@@ -150,10 +150,10 @@ Work off direct clones of the repos so the release branches persist for a time.
150150
composer test && composer info codeigniter4/framework
151151
```
152152
* [ ] Verify that the user guide actions succeeded:
153-
* "[Deploy Distributable Repos](https://github.com/codeigniter4/CodeIgniter4/actions/workflows/deploy-distributables.yml)", the main repo
154-
* "[Deploy Production](https://github.com/codeigniter4/userguide/actions/workflows/deploy.yml)", UG repo
155-
* "[pages-build-deployment](https://github.com/codeigniter4/userguide/actions/workflows/pages/pages-build-deployment)", UG repo
156-
* Check if "CodeIgniter4.x.x.epub" is added to UG repo. "CodeIgniter.epub" was
153+
* [ ] "[Deploy Distributable Repos](https://github.com/codeigniter4/CodeIgniter4/actions/workflows/deploy-distributables.yml)", the main repo
154+
* [ ] "[Deploy Production](https://github.com/codeigniter4/userguide/actions/workflows/deploy.yml)", UG repo
155+
* [ ] "[pages-build-deployment](https://github.com/codeigniter4/userguide/actions/workflows/pages/pages-build-deployment)", UG repo
156+
* [ ] Check if "CodeIgniter4.x.x.epub" is added to UG repo. "CodeIgniter.epub" was
157157
created when v4.3.8 was released.
158158
* [ ] Fast-forward `develop` branch to catch the merge commit from `master`
159159
```console

admin/prepare-release.php

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ function replace_file_content(string $path, string $pattern, string $replace): v
2626

2727
// Creates a branch for release.
2828
system('git switch develop');
29+
system('git branch -D release-' . $version);
2930
system('git switch -c release-' . $version);
3031

3132
// Updates version number in "CodeIgniter.php".

0 commit comments

Comments
 (0)