mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +01:00
13 lines
883 B
Markdown
13 lines
883 B
Markdown
# Release process
|
|
|
|
When releasing a new version of Pest there are some checks and updates that need to be done:
|
|
|
|
- Clear your local repository with: `git add . && git reset --hard && git checkout master`
|
|
- On the GitHub repository, check the contents of [github.com/pestphp/pest/compare/{latest_version}...master](https://github.com/pestphp/pest/compare/{latest_version}...master) and update the [changelog](CHANGELOG.md) file with the main changes for this release
|
|
- Update the version number in [src/Pest.php](src/Pest.php)
|
|
- Run the tests locally using: `composer test`
|
|
- Commit the CHANGELOG and Pest file with the message: `git commit -m "chore: update changelog"`
|
|
- Push the changes to GitHub
|
|
- Check that the CI is passing as expected: [github.com/pestphp/pest/actions](https://github.com/pestphp/pest/actions)
|
|
- Tag and push the tag with `git tag vX.X.X && git push --tags`
|