Issue tracking is difficult without an accurate version tag. Pull request #179 replaces hard versioning in configure.ac with a shell script that will return a complete version IF tag is not equal to HEAD commit.
The current
$ lrzip -V
lrzip version 0.631
will now show
$ lrzip -V
lrzip version 0.631-82-ff04150
where 82 represents that HEAD is 82 commits after the most recent tag.
The program util/gitdesc.sh can easily be modified to return different values, for example:
$ lrzip -V
lrzip version 0.6.31-82-ff04150
where the micro version is split off. A more proper way. This is the new format in version 0.7 of lrzip.
gitdesc.sh can be run standalone too from within the git directory.
$ util/gitdesc.sh all
0.631-82-ff04150
$ util/gitdesc.sh all -r
0.47-860-ff04150
If used with the -r option. gitdesc.sh will return a version from the last release version (annotated tag). In this case, 860 commits! However, there should be no release versions in Release version 0.
Issue tracking is difficult without an accurate version tag. Pull request #179 replaces hard versioning in configure.ac with a shell script that will return a complete version IF tag is not equal to HEAD commit. The current
will now show
where 82 represents that HEAD is 82 commits after the most recent tag.
The program
util/gitdesc.sh
can easily be modified to return different values, for example:where the micro version is split off. A more proper way. This is the new format in version 0.7 of lrzip.
gitdesc.sh
can be run standalone too from within the git directory.If used with the
-r
option.gitdesc.sh
will return a version from the last release version (annotated tag). In this case, 860 commits! However, there should be no release versions in Release version 0.