Gyorgy Szing | 5e429cb | 2019-12-03 20:39:55 +0100 | [diff] [blame] | 1 | Versioning policy |
| 2 | ================== |
| 3 | |
| 4 | This 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 |
| 6 | information is captured and how it is managed. |
| 7 | |
| 8 | Summary |
| 9 | ------- |
| 10 | |
| 11 | The version identifier identifies the feature set supported by a specific |
| 12 | release of the |TFACMF|, and captures compatibility information to other |
| 13 | releases. |
| 14 | |
| 15 | This project uses "Semantic Versioning v2.0". For details please refer to |
| 16 | |SMVC| v2.0. |
| 17 | |
| 18 | In general the version number is constructed from three numbers. The `MAJOR` |
| 19 | number is changed when incompatible API changes are introduced, the `MINOR` |
| 20 | version when you functionality is added in a backward compatible manner, and |
| 21 | the `PATCH` version when backwards compatible bug fixes are added. |
| 22 | |
| 23 | Each release will get a unique release id assigned. When a release is made, the |
| 24 | version number will get incremented in accordance with the compatibility rules |
| 25 | mentioned above. |
| 26 | |
| 27 | This project is only using the core version and will not use pre-release or |
| 28 | build specific metadata extension. |
| 29 | |
| 30 | Storage and format |
| 31 | ------------------ |
| 32 | |
| 33 | The 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 | |
| 50 | SPDX-License-Identifier: BSD-3-Clause |