Releasing Fastfony
Release Process
The process for creating a Fastfony release involves several steps to maintain quality and ensure proper distribution across all channels:
-
Merge Merge Requests (MRs) into the Active Version Branch
- All relevant merge requests (MRs) are reviewed and merged into the current active branch (for example,
0.3
).
- All relevant merge requests (MRs) are reviewed and merged into the current active branch (for example,
-
Change version number and tag the Release
- A commit is added for edit the version number in
src/Kernel.php
andpackages/api_platform.yaml
. - Once the branch is ready, a new Git tag is created on the active version branch.
- The tag uses the prefix
v
followed by the version number (e.g.,v0.3.3
).
- A commit is added for edit the version number in
-
Create the Release on GitHub
- After tagging, a new release is published on GitHub Releases .
- The release includes notes, changelogs, and links to commits.
-
Merge into Future Version Branches
- The changes from the active version branch (e.g.,
0.3
) are merged into future version branches (e.g.,0.4
). - This ensures that upcoming versions benefit from all updates and fixes.
- The changes from the active version branch (e.g.,
-
Merge into
develop
andmain
Branchesdevelop
:- Merging into the
develop
branch allows for publishing on Packagist and enables thecomposer create-project
feature for developers.
- Merging into the
main
:- Merging into the
main
branch triggers the Continuous Integration (CI) pipeline, which generates quality indicators and performs automated checks.
- Merging into the
Summary
- Release cadence: Follows Symfony releases.
- Merge workflow: MRs → active branch → change version number → tag → GitHub release → future branches →
develop
→main
. - Distribution: Updates available via GitHub, Packagist, and
composer create-project
. - Quality assurance: CI runs on the
main
branch after every release.
This process ensures Fastfony remains robust, up-to-date, and ready for production use after every release.
Last updated on