4.1 Release - govCMS/GovCMS GitHub Wiki
GovCMS repositories use git-flow model to manage releases.
Please refer to https://danielkummer.github.io/git-flow-cheatsheet/ for step-by-step release commands.
Process workflow
- Make sure that you have the latest versions of
masteranddevelopbranches. - Checkout
developbranch. - Start release:
git flow release start 1.2.3, where1.2.3is a next release (see Version Number below). - Push created
release/1.2.3branch to remote:git flow release publish 1.2.3 - Once CI passes (if any), finish the release:
git flow release finish 1.2.3 - Push
developandmasterto remote.
Rule of thumb
- Latest commit to
mastershould contain a tag and should exist indevelop. If it does not - the release was done incorrectly and should be repeated from the beginning. - Always make sure that there is a remote
release/1.2.3branch created. - At any moment in time there should not be any commits in
masterthat are not tagged with a version.
Version Number
Release versions are numbered according to Semantic Versioning. Given a version number X.Y.Z:
- X = Major release version. No leading zeroes.
- Y = Minor Release version. No leading zeroes.
- Z = Hotfix/patch version. No leading zeroes.