This document contains some instructions for the repository maintainers.
Follow these instructions when publishing a new Imagine release:
- Be sure that GitHub Action tests succesfully completed in the
develop
branch - Update the
CHANGELOG.md
file:- replace the
### NEXT (YYYY-MM-DD)
line with the release number and date
- replace the
- Set the new version in the
Imagine\Image\ImagineInterface::VERSION
constant:- it's defined in the file
src/Image/ImagineInterface.php
- it's defined in the file
- Commit these changes and push to the
develop
branch - Wait until TravisCI jobs complete succesfully
- one of those jobs should automatically add a new commit to the
develop
branch, 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.md
file
- 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
master
branch to this new tag (for example1.2.3
) - Wait until TravisCI jobs complete
- Update the
CHANGELOG.md
file:- add a new
### NEXT (YYYY-MM-DD)
line
- add a new
- Set the new development version in the
Imagine\Image\ImagineInterface::VERSION
constant:- it's defined in the file
src/Image/ImagineInterface.php
- it's defined in the file
- Drink a beer to celebrate the new version