This document contains some instructions for the repository maintainers.
Follow these instructions when publishing a new Imagine release:
- Be sure that TravisCI jobs succesfully completed in the
developbranch - Update the
CHANGELOG.mdfile:- replace the
### NEXT (YYYY-MM-DD)line with the release number and date
- replace the
- Set the new version in the
Imagine\Image\ImagineInterface::VERSIONconstant:- it's defined in the file
src/Image/ImagineInterface.php
- it's defined in the file
- Commit these changes and push to the
developbranch - Wait until TravisCI jobs complete succesfully
- one of those jobs should automatically add a new commit to the
developbranch, updating the API docs
- one of those jobs should automatically add a new commit to the
- Create a new release on GitHub
- Go to https://github.com/avalanche123/Imagine/releases/new and enter this data:
- Tag version: the new version (just the numbers/dots - for example
1.2.3) - Release title: the new version (with a leating
v- for examplev1.2.3) - Release description: copy the relevant section from the
CHANGELOG.mdfile
- Tag version: the new version (just the numbers/dots - for example
- the new release should appear on https://imagine.readthedocs.io in a short time
- Go to https://github.com/avalanche123/Imagine/releases/new and enter this data:
- Fast forward the
masterbranch to this new tag (for example1.2.3) - Wait until TravisCI jobs complete
- Update the
CHANGELOG.mdfile:- add a new
### NEXT (YYYY-MM-DD)line
- add a new
- Set the new development version in the
Imagine\Image\ImagineInterface::VERSIONconstant:- it's defined in the file
src/Image/ImagineInterface.php
- it's defined in the file
- Drink a beer to celebrate the new version