Release Process¶
Branches¶
mainbranch for productiondevelopbranch for active developmentfeature/[feature-name]branches for new featureshotfix/[issue-name]branches for hotfixes
Release¶
Create release branch from
developprefixed byrelease/[version], for example:release/1.0.0Bump version based on release
Generate a changelog file
Commit all change to release branch with
tagon 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
masterprefixed byhotfix/[issu-name], for example:hotfix/1-fix-user-creationFix the issue
Bump patch version, so if the version is
1.0.0it will be bumped as1.0.1and commitCommit all change to the hotfix branch
Generate changelog file
Create a pull request from the
hotfixbranch tomaster:hotfix/1-fix-user-creation->masterCreate a pull request from the
hotfixbranch todevelop:hotfix/1-fix-user-creation->develop
Case 2: hotfix needed on release/[version] branch, for example: release/1.0.0¶
Pull the related
releasebranch:release/1.0.0Fix the issue and commit changes
Generate changelog file
Push changes
Create a pull request from the
releasebranch todevelop:release/1.0.0->develop