Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.28 KB

020-package-release.md

File metadata and controls

42 lines (29 loc) · 1.28 KB

020 - Package Release

Criteria

  • No critical issues.
  • Public API changes aren't likely.
  • All dependencies are stable.
  • Close to 100% test coverage with, ideally, 100% MSI score.
  • High certainty that public API won't change, or some time passed w/o issues reported that may require API changes.
  • 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.

  1. Check that you can sign commits locally (see Signing commits).

  2. Pull last changes from the master branch:

./yii-dev git/checkout master package-name
./yii-dev git/pull package-name
  1. Check the package for compliance with the criteria above.

  2. Run release/make command:

./yii-dev release/make package-name
  1. Select version type (major, minor or path).

  2. On the question "Push commits and tags, and release on GitHub?" check a diff. If the diff is alright, answer "yes".

  3. For major and minor releases add a record with release notes on Yii Framework News.