Closed tripplehelix closed 2 years ago
Thanks for the suggestion :clap:
...
Hmm, that is weird. Which OS are you running this on @tripplehelix ?
Still not getting a version number with latest release.
How are you building the package, because in all envs that I tested this it behaves as expected.
Try running these commands from the project root:
$ git describe --abbrev=0 --tags
1.2.3
$ make build
$ ./execs/typioca -v
typioca 1.2.3
I usually pull the exec out into .local/bin/
This is via git clone, rather than downloading from releases.
Hmm, that is pretty weird. As make
does the same command you did (and it showed correctly 1.2.3) here https://github.com/bloznelis/typioca/blob/master/Makefile#L6 and injects it into binary via compiler flags.
Would be nice to either show version number in the program or be able to run typioca -v