Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Makefile: Allow lightweight tags in MXQ_VERSION_GIT
If we build from a git repository, the build system adds the output of `git describe` to the version information. However, per default `git describe` searches for annotated tags only. Since version 0.22.5, we draft releases from github enterprise, which creates lightweight tags. For this reason, the version string ammendment was always based on the 0.22.4 release: buczek@theinternet:~/git/mxq (master)$ ./mxqd --version mxqd - MXQ v0.25.4 (beta) [0.22.4-134-g3ae9361] by Marius Tolzmann <marius.tolzmann@molgen.mpg.de> 2013-2016 and Donald Buczek <buczek@molgen.mpg.de> 2015-2016 Max Planck Institute for Molecular Genetics - Berlin Dahlem Add `--tags` to `git describe` so that the version string is based on the newest tag. mxqd - MXQ v0.25.4 (beta) [0.25.4-4-g3ae9361] by Marius Tolzmann <marius.tolzmann@molgen.mpg.de> 2013-2016 and Donald Buczek <buczek@molgen.mpg.de> 2015-2016 Max Planck Institute for Molecular Genetics - Berlin Dahlem
- Loading branch information