-
Notifications
You must be signed in to change notification settings - Fork 891
Releasing a new version of Phinx
Richard Quadling edited this page Jun 21, 2016
·
13 revisions
This page outlines the process involved in releasing a new version of Phinx.
We roughly follow semantic versioning but generally we perform a release for a group of commits. The PATCH version is incremented the most often, followed by MINOR.
The first MAJOR release will be 1.0.0 when the Phinx API is finalized.
The second MAJOR release 2.0.0 is also planned, but has no timeline as of now.
Releases can only be performed by project admins.
- Update the release version in
docs/conf.py
. - Update the application version in
src/Phinx/Console/PhinxApplication.php
. - Add to the
CHANGELOG.md
. - Here is a sample commit of the steps above: https://github.com/robmorgan/phinx/commit/faf042dfe9c700b233c6c3da6689976f8c9a81b2
- Commit these changes to the current development branch and push to Github.
- Create a tag of the development branch:
git tag -a v0.4.1 -m 'Tagging release 0.4.1'
- Ensure Travis CI & App Veyor are passing for the development branch.
- Push the tag to Github
git push origin v0.4.1
. - Checkout the
master
and merge in the development branch. This is important as the documentation is generated from themaster
branch. - Checkout the
gh-pages
branch and update the Phinx version. There are two places inindex.html
to update. The version showed on the homepage and the Google Analytics tracking snippet. See an example commit: https://github.com/robmorgan/phinx/commit/3b50a762a71dd63caa47025e771bb7a3baa8f042 - Ensure Packagist has automatically picked up the new tag: https://packagist.org/packages/robmorgan/phinx