Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Naming Convention[major].[minor].[incremental]-HF[hotfix]

Starting Point: 1.0.0

major.minor.incremental[-HFx] 

The "-HF[hotfix]HFx" tag is optional, depending on whether or not a hotfix was added to the release. 
e.g. 1.0.12, 1.0.12-HF2, 1.1.0, 1.1.0-HF1

...

Versioning 

  • If we pull from Master(Release(Master) to Dev Develop (Snapshot), we increment either [major] or [minor]minor and/or major.
    • Maven/Jenkins adds the /artifactory requires branches be tagged either as "-SNAPSHOT" tag to snapshot builds.Adds the or "-RELEASE" tag to new releases.
    • Master is always RELEASE and Develop is always SNAPSHOT.
  • If we pull from Dev (Snapshot) to Feature Set (Nightly), we increment [increment incremental].
  • If we pull from  Feature Set (Nightly) to Features, we increment [incremental]increment incremental.
    • If a feature isn't finished by the end of the current sprint (e.g. Feature 3 in the diagram below), it won't be committed until the next sprint.
  • If we pull from Release(Master) to Hotfix, we add the "-HF" tag and increment [hotfix]increment x.
    • Adding a hotfix does not change the name/version of the release.
      e.g. If we have version 1.1.2 released as 1.1.2-RELEASE and we add a hotfix, the version will become 1.1.2-HF1, but the release will still be 1.1.2-RELEASE.  


Image Modified

 

...