Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
font-patcher: Use git version tag for font version
[why] When changes are made to the font-patcher and fonts are patched with that version we can not see which patcher has been used in the fonts afterwards. Would be good to have the usual version-patchversion number in the fonts in these cases (i.e. `v2.3.3-7` for 7 commits after `2.3.3`). I did this manually before, but it is always a hassle. [how] If the font-patcher is run directly from a git repo and git is installed we try to get the latest tag version including patch number. If and only if that is successful and that version is 'newer' than the version encoded in the font-patcher script the git version is trusted more. Signed-off-by: Fini Jastrow <[email protected]>
- Loading branch information