tagged archive :: program version display GIT-NOTFOUND

Issue #110 resolved
Eric Deveaud created an issue

Hello

when building tagged from tagged archive, all binaies display “GIT-NOTFOUND” as version.

see for example:

bigmess:MetaBAT/2.15 > ./src/metabat2

MetaBAT: Metagenome Binning based on Abundance and Tetranucleotide frequency (version 2:GIT-NOTFOUND; 2020-10-28T19:59:43)
by Don Kang (ddkang@lbl.gov), Feng Li, Jeff Froula, Rob Egan, and Zhong Wang (zhongwang@lbl.gov)

bigmess:MetaBAT/2.15 > ./src/jgi_summarize_bam_contig_depths
jgi_summarize_bam_contig_depths GIT-NOTFOUND 2020-10-28T19:59:43
Usage: jgi_summarize_bam_contig_depths <options> sortedBam1 [ sortedBam2 ...]

it would be nice to have the version reflecting the tag

when working from tagged release archive there is no git context so git-watcher.cmake may need some modifications.

regards

Eric

Comments (2)

  1. Rob Egan

    That is a good suggestion. Presently the version number is entirely derived by the git environment of the source code directory (tags + hash), not by any file or variable located within the source code itself.

  2. Rob Egan

    Copied a better way of versioning from MetaBAT into the Issue110 branch and this should get incorporated when v2.18 gets released.

  3. Log in to comment