Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.24 KB

versioning.md

File metadata and controls

43 lines (30 loc) · 1.24 KB

Versioning

Oasis Rosetta Gateway uses Semantic Versioning 2.0.0 with the following format:

MAJOR.MINOR.PATCH[-MODIFIER]

where:

  • MAJOR represents the major version starting with zero (e.g. 0, 1, 2, 3, ...),
  • MINOR represents the minor version starting with zero (e.g. 0, 1, 2, 3, ...),
  • PATCH represents the final number in the version (sometimes referred to as the "micro" segment) (e.g. 0, 1, 2, 3, ...).
  • MODIFIER represents (optional) build metadata, e.g. git8c01382.

When a backwards incompatible release is made, the MAJOR version should be bumped.

When a regularly scheduled release is made, the MINOR version should be bumped.

If there are fixes and (backwards compatible) changes that we want to back-port from an upcoming release, then the PATCH version should be bumped.

The MODIFIER should be used to denote a build from an untagged (and potentially unclean) git source. It should be of the form:

gitCOMMIT_SHA[+dirty]

where:

  • COMMIT_SHA represents the current commit’s abbreviated SHA.

The +dirty part is optional and is only present if there are uncommitted changes in the working directory.