Ask Ubuntu Asked by Sunil Shahi on November 9, 2021
I am trying to install gitversion in our build server in Ubuntu 18.04.4 LTS (GNU/Linux 5.3.0-1030-aws x86_64). The documentation has very little instruction. I found tar.gz file in github (here) upon uncompressing using following command I only got a single file named "gitversion".
wget https://github.com/GitTools/GitVersion/releases/download/5.3.7/gitversion-ubuntu.18.04-x64-5.3.7.tar.gz
tar -xvf gitversion-ubuntu.18.04-x64-5.3.7.tar.gz
I am completely lost after that. Judging by the lack of instruction in documentation, I am guessing this should be simple or obvious. May be the problem is I am newbie.
I also looked here. but this instruction is using a zip file that is not available for latest release.
Thanks in advance.
Yea. The GitVersion doc on installation is somewhat blur for linux distros. Well, answering your question above i think I figured it out. Move the gitversion binary generated after the tar -xvf gitversion-ubuntu.18.04-x64-5.3.7.tar.gz
to /usr/local/bin. See complete installation steps below:
wget https://github.com/GitTools/GitVersion/releases/download/5.3.7/gitversion-ubuntu.18.04-x64-5.3.7.tar.gz
tar -xvf gitversion-ubuntu.18.04-x64-5.3.7.tar.gz
sudo mv gitversion /usr/local/bin
Also the gitversion tool works only on git initialized directory. Happy semantic versioning!!!
Answered by knoxknot on November 9, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP