Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
version: run git describe from the path of the python file
When we append the git information to the version string we can't simply run git describe from any location, or we may end up getting the version of another git repository (like the kernel). To prevent this, always run `git describe` from the path where version.py is located: installed vesions will return the plain version as before, while running `vng --version` directly from the git repo will return the version with the additional git information. Fixes: 5cdb2f0 ("version: generate verison string based on git information") Signed-off-by: Andrea Righi <[email protected]>
- Loading branch information