blob: 83f45c7362a61651a933e58c304adcf59039125b [file] [log] [blame]
Gyorgy Szing5e429cb2019-12-03 20:39:55 +01001Versioning policy
2==================
3
4This document captures information about how the version identifier of the
5|TFACMF| is built up, what is the meaning of each part, where the version
6information is captured and how it is managed.
7
8Summary
9-------
10
11The version identifier identifies the feature set supported by a specific
12release of the |TFACMF|, and captures compatibility information to other
13releases.
14
15This project uses "Semantic Versioning v2.0". For details please refer to
16|SMVC| v2.0.
17
18In general the version number is constructed from three numbers. The `MAJOR`
19number is changed when incompatible API changes are introduced, the `MINOR`
20version when you functionality is added in a backward compatible manner, and
21the `PATCH` version when backwards compatible bug fixes are added.
22
23Each release will get a unique release id assigned. When a release is made, the
24version number will get incremented in accordance with the compatibility rules
25mentioned above.
26
27This project is only using the core version and will not use pre-release or
28build specific metadata extension.
29
30Storage and format
31------------------
32
33The version number of each release will be stored at two locations:
34 #. In a tag of the version control system in the form of "vX.Y.Z" where X Y
35 and Z are the major, minor and patch version numbers.
36 #. In a file called version.txt. This file uses ASCII encoding and will
37 contain the version number as "X.Y.Z" where X Y and Z are the major,
38 minor and patch version numbers.
39
40.. note:: The version id is independent from version identifiers of the
41 versioning system used to store the |TFACMF| (i.e. git).
42
43--------------
44
45.. |SMVC| replace:: `Semantic Versioning`_
46.. _`Semantic Versioning`: https://semver.org/spec/v2.0.0.html
47
48*Copyright (c) 2020, Arm Limited and Contributors. All rights reserved.*
49
50SPDX-License-Identifier: BSD-3-Clause