RELEASE.md
1.38 KB
Releasing createsend-php
Requirements
- You must have Composer installed.
Prepare the release
- Increment the
CS_REST_WRAPPER_VERSIONconstant in theclass/base_classes.phpfile, ensuring that you use Semantic Versioning. - Add an entry to
HISTORY.mdwhich clearly explains the new release. - Install development dependencies and ensure that tests pass locally:
composer install --dev
cd tests && php all_tests.php && cd ..
- Commit your changes:
git commit -am "Version X.Y.Z"
- Tag the new version:
git tag -a vX.Y.Z -m "Version X.Y.Z"
- Push your changes to GitHub, including the tag you just created:
git push origin master --tags
- Ensure that all tests pass.
Release the module
There is a GitHub service hook for the Packagist PHP package repository, which is configured to update the createsend-php package when new tags are pushed to GitHub.
So there are no further steps to releasing the module. You should now see the latest version of the module listed on Packagist. All done!