Skip to content

Commit eeeeaca

Browse files
authored
Merge pull request #1951 from fasterit/document-version-scheme
Add documentation for the versioning scheme
2 parents c5343ae + 78b7bb5 commit eeeeaca

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
Understanding htop versions
2+
===========================
3+
4+
Release versions
5+
------------------
6+
7+
Release versions are marked in `configure.ac` with
8+
m4_define([htop_release_version], [9.9.9]) for a version `9.9.9`.
9+
10+
A release version will identify in `htop --version` and the crash report as:
11+
- htop 9.9.9
12+
- Your htop version: '9.9.9'
13+
14+
Development versions
15+
----------------------
16+
17+
Development versions are marked in `configure.ac` with
18+
m4_define([htop_release_version], [10.9.8-dev]) for a version `10.9.8` to be released sometime in the future.
19+
20+
This version id will be amended by
21+
22+
```
23+
git describe --abbrev=7 --dirty --always --tags
24+
```
25+
26+
which you can find as `htop_git_version` in `configure.ac`.
27+
28+
A development version will identify in `htop --version` and the crash report as:
29+
- htop 10.9.8-dev-10.9.0-16-gabbccdd
30+
- Your htop version: '10.9.8-dev-10.9.0-16-gabbccdd'
31+
32+
The breakdown of this version string is as follows:
33+
34+
10.9.8 - dev - 10.9.0 - 16 - gabbccdd
35+
Next release version - still in development - last git tag - commits since last tag - g(it) + commit id for the build

0 commit comments

Comments
 (0)