Closed rorynolan closed 3 years ago
I have a different problem now @zaeleus The version isn't reporting correctly.
The commit hash is the right one but the version number is missing.
I'll have to investigate this further. It seems cargo is cloning the repository in an unexpected manner. In the interim, clone the repository manually and install from the project path.
$ git clone https://github.com/stjude/fqlib.git
$ cd fqlib
$ git switch --detach v0.7.1
$ cargo install --force --path .
$ fq --version
fq v0.7.1 (869b59271 2021-10-07)
$ fq lint --version
fq-lint v0.7.1 (869b59271 2021-10-07)
cargo does not fetch tags, which is how the version is determined at build time. I updated the manual install instructions in the readme to clone the repo first.
FWIW the regular cargo install on linux does report version correctly.
Using the version installed via
cargo install --git https://github.com/stjude/fqlib.git --tag v0.7.0
I cannot get the program to report its version. Runningfq lint -V
I only getfq-lint
as output with no version info. I'm on Mac Big Sur 11.6.