skydive-project / skydive

An open source real-time network topology and protocols analyzer
https://skydive.network
Apache License 2.0
2.68k stars 404 forks source link

released binary not printing the version version properly #2309

Closed amorenoz closed 3 years ago

amorenoz commented 3 years ago

The lastest release (as of Dec 15 2020) does not print the version properly.

How to reproduce:

$ curl -Lo - https://github.com/skydive-project/skydive-binaries/raw/jenkins-builds/skydive-latest.gz 2>/dev/null | gzip -d > skydive && chmod +x skydive && ./skydive version
./skydive github.com/skydive-project/skydive 

I was expecting a version or git commit to be printed

lebauce commented 3 years ago

The bug was due to shallow cloning the git repository. Should be fixed now