Release Process¶
Branches¶
main
branch for productiondevelop
branch for active developmentfeature/[feature-name]
branches for new featureshotfix/[issue-name]
branches for hotfixes
Release¶
Create release branch from
develop
prefixed byrelease/[version]
, for example:release/1.0.0
Bump version based on release
Generate a changelog file
Commit all change to release branch with
tag
on itCreate a pull request from the release branch to
master
:release/1.0.0
->master
HotFixing¶
Case 1: hotfix needed on master
branch¶
Crete hotfix branch from
master
prefixed byhotfix/[issu-name]
, for example:hotfix/1-fix-user-creation
Fix the issue
Bump patch version, so if the version is
1.0.0
it will be bumped as1.0.1
and commitCommit all change to the hotfix branch
Generate changelog file
Create a pull request from the
hotfix
branch tomaster
:hotfix/1-fix-user-creation
->master
Create a pull request from the
hotfix
branch todevelop
:hotfix/1-fix-user-creation
->develop
Case 2: hotfix needed on release/[version]
branch, for example: release/1.0.0
¶
Pull the related
release
branch:release/1.0.0
Fix the issue and commit changes
Generate changelog file
Push changes
Create a pull request from the
release
branch todevelop
:release/1.0.0
->develop