-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #959 from codeigniter4/develop
1.0.0-beta.8 Ready code
- Loading branch information
Showing
225 changed files
with
3,399 additions
and
374 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,8 @@ name: Detect Merge Commits | |
|
||
on: | ||
pull_request: | ||
branches: | ||
- develop | ||
|
||
permissions: | ||
contents: read | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,15 @@ | |
|
||
declare(strict_types=1); | ||
|
||
/** | ||
* This file is part of CodeIgniter Shield. | ||
* | ||
* (c) CodeIgniter Foundation <[email protected]> | ||
* | ||
* For the full copyright and license information, please view | ||
* the LICENSE file that was distributed with this source code. | ||
*/ | ||
|
||
use CodeIgniter\CodingStandard\CodeIgniter4; | ||
use Nexus\CsConfig\Factory; | ||
use PhpCsFixer\Finder; | ||
|
@@ -28,4 +37,8 @@ | |
'cacheFile' => 'build/.php-cs-fixer.cache', | ||
]; | ||
|
||
return Factory::create(new CodeIgniter4(), $overrides, $options)->forProjects(); | ||
return Factory::create(new CodeIgniter4(), $overrides, $options)->forLibrary( | ||
'CodeIgniter Shield', | ||
'CodeIgniter Foundation', | ||
'[email protected]' | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,41 +36,43 @@ the changelog. | |
|
||
## Preparation | ||
|
||
* Clone **codeigniter4/shield** and resolve any necessary PRs | ||
* [ ] Clone **codeigniter4/shield** and resolve any necessary PRs | ||
```console | ||
git clone [email protected]:codeigniter4/shield.git | ||
``` | ||
* Merge any Security Advisory PRs in private forks | ||
* [ ] Merge any Security Advisory PRs in private forks | ||
|
||
## Process | ||
|
||
> **Note** Most changes that need noting in the User Guide and docs should have | ||
> been included with their PR, so this process assumes you will not be | ||
> generating much new content. | ||
|
||
* Create a new branch `release-1.x.x` | ||
* Update **src/Auth.php** with the new version number: | ||
* [ ] Create a new branch `release-1.x.x` | ||
* [ ] Update **src/Auth.php** with the new version number: | ||
`const SHIELD_VERSION = '1.x.x';` | ||
* Commit the changes with "Prep for 1.x.x release" and push to origin | ||
* Create a new PR from `release-1.x.x` to `develop`: | ||
* [ ] Commit the changes with "Prep for 1.x.x release" and push to origin | ||
* [ ] Create a new PR from `release-1.x.x` to `develop`: | ||
* Title: "Prep for 1.x.x release" | ||
* Description: "Updates version references for `1.x.x`." (plus checklist) | ||
* Let all tests run, then review and merge the PR | ||
* Create a new PR from `develop` to `master`: | ||
* [ ] Let all tests run, then review and merge the PR | ||
* [ ] Create a new PR from `develop` to `master`: | ||
* Title: "1.x.x Ready code" | ||
* Description: blank | ||
* Merge the PR | ||
* Create a new Release: | ||
* [ ] Merge the PR | ||
* [ ] Create a new Release: | ||
* Version: "v1.x.x" | ||
* Target: master | ||
* Title: "v1.x.x" | ||
* Click the "Generate release notes" button | ||
* Remove "### Others (Only for checking. Remove this category)" section | ||
* Add important notes if necessary | ||
* Add link to Upgrade Guide if necessary | ||
* Check "Create a discussion for this release" | ||
* Click the "Publish release" button | ||
* Watch for the "docs" action and verify that the user guide updated: | ||
* [ ] Watch for the "docs" action and verify that the user guide updated: | ||
* [docs](https://github.com/codeigniter4/shield/actions/workflows/docs.yml) | ||
* Fast-forward `develop` branch to catch the merge commit from `master` | ||
* [ ] Fast-forward `develop` branch to catch the merge commit from `master` | ||
(note: pushing to `develop` is restricted to administrators): | ||
```console | ||
git fetch origin | ||
|
@@ -82,9 +84,9 @@ the changelog. | |
**At this point, `master` must be merged into `develop`.** Otherwise, the | ||
GitHub-generated release note from `develop` for the next release will not be | ||
generated correctly. | ||
* Publish any Security Advisories that were resolved from private forks | ||
* [ ] Publish any Security Advisories that were resolved from private forks | ||
(note: publishing is restricted to administrators) | ||
* Announce the release on the forums and Slack channel | ||
* [ ] Announce the release on the forums and Slack channel | ||
(note: this forum is restricted to administrators): | ||
* Make a new topic in the "News & Discussion" forums: | ||
https://forum.codeigniter.com/forum-2.html | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.