v1.0.1 |
Processes, procedures, and reference
|
Version numbers are applied to projects to commemorate named milestones in the git commit history.
Major | Minor | Revision | |||
---|---|---|---|---|---|
v | 1 | . | 0 | . | 0 |
v
is always included as a prefix.A version number can be tagged to a repository on the command line:
This version number will appear at times and can be used to lock a submodule to a tag number. This can be useful because if absolutely necessary, a tag can be updated in the git history and submodules referring to the tag can use git submodule update
to retrieve a fix. The latest tag number will also appear in documentation, however the source code itself may not have been tagged at main
.
It's important to note the number syntax, despite alphabetization.
For instance:
The segments of the version number do not have leading zeros, so be aware that v1.0.34
may be in the middle of an alphabetized list of version numbers.