From 3120ff2295f0df27f156478b4f5d5d177655f336 Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Fri, 2 Feb 2024 02:44:03 +0100 Subject: [PATCH] Chore: Add documentation section about how to release the package https://packagist.org/packages/crate/crate-dbal --- DEVELOP.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/DEVELOP.rst b/DEVELOP.rst index 041318b..2622321 100644 --- a/DEVELOP.rst +++ b/DEVELOP.rst @@ -172,6 +172,18 @@ To make changes to the RTD configuration (e.g., to activate or deactivate a release version), please contact the `@crate/docs`_ team. +********* +Releasing +********* + +- Bump version number in ``src/Crate/DBAL/Driver/PDOCrate/Driver.php`` +- Edit ``CHANGES.txt`` correspondingly +- Commit changes: ``Release x.x.x`` +- Tag repository: ``git tag x.x.x`` +- Push to GitHub: ``git push && git push --tags`` +- Verify publishing worked: https://packagist.org/packages/crate/crate-dbal + + .. _@crate/docs: https://github.com/orgs/crate/teams/docs .. _@crate/tech-writing: https://github.com/orgs/crate/teams/tech-writing .. _Composer: https://getcomposer.org