020 — Package release
Criteria
- No critical issues.
- Public API changes aren't likely. Some time passed w/o issues reported that may require API changes.
- All dependencies are stable.
- Close to 100% test coverage with, ideally, a 100% MSI score.
- README is alright.
- Everything is type-hinted unless special cases.
- Psalm analysis passes on at least level 2.
- phpdoc is alright.
- Public API is alright.
Release instruction
Release a package via Yii Development Tool.
Check that you can sign commits locally (see Signing commits).
Pull last changes from the
masterbranch:
shell
./yii-dev git/checkout master package-name
./yii-dev git/pull package-nameCheck the package for compliance with the criteria above.
Run
release/makecommand:
shell
./yii-dev release/make package-nameSelect the version type (major, minor or path).
On the question "Push commits and tags, and release on GitHub?" check a diff. If the diff is alright, answer "yes."
For major and minor releases, add a record with release notes on Yii Framework News.