diff --git a/RELEASE.md b/RELEASE.md index f0ad6113..d5b2ab39 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -2,10 +2,10 @@ When releasing a new version of Pest there are some checks and updates that need to be done: -> **For Pest v2 you should use the `2.x` branch instead.** +> **For Pest v3 you should use the `3.x` branch instead.** - Clear your local repository with: `git add . && git reset --hard && git checkout 3.x` -- On the GitHub repository, check the contents of [github.com/pestphp/pest/compare/{latest_version}...3.x](https://github.com/pestphp/pest/compare/{latest_version}...3.x) +- On the GitHub repository, check the contents of [github.com/pestphp/pest/compare/{latest_version}...4.x](https://github.com/pestphp/pest/compare/{latest_version}...4.x) - Update the version number in [src/Pest.php](src/Pest.php) - Run the tests locally using: `composer test` - Commit the Pest file with the message: `git commit -m "release: vX.X.X"` diff --git a/src/Pest.php b/src/Pest.php index 5037bea8..43ee0bb7 100644 --- a/src/Pest.php +++ b/src/Pest.php @@ -6,7 +6,7 @@ namespace Pest; function version(): string { - return '4.0.0-rc.1'; + return '4.0.0'; } function testDirectory(string $file = ''): string diff --git a/tests/.pest/snapshots/Visual/Help/visual_snapshot_of_help_command_output.snap b/tests/.pest/snapshots/Visual/Help/visual_snapshot_of_help_command_output.snap index 478aa138..e1362c83 100644 --- a/tests/.pest/snapshots/Visual/Help/visual_snapshot_of_help_command_output.snap +++ b/tests/.pest/snapshots/Visual/Help/visual_snapshot_of_help_command_output.snap @@ -1,5 +1,5 @@ - Pest Testing Framework 4.0.0-rc.1. + Pest Testing Framework 4.0.0. USAGE: pest [options] diff --git a/tests/.pest/snapshots/Visual/Version/visual_snapshot_of_help_command_output.snap b/tests/.pest/snapshots/Visual/Version/visual_snapshot_of_help_command_output.snap index cff9eedf..023e4b4d 100644 --- a/tests/.pest/snapshots/Visual/Version/visual_snapshot_of_help_command_output.snap +++ b/tests/.pest/snapshots/Visual/Version/visual_snapshot_of_help_command_output.snap @@ -1,3 +1,3 @@ - Pest Testing Framework 4.0.0-rc.1. + Pest Testing Framework 4.0.0.