Include userspace version (QMK_USERSPACE_VERSION) in version.h (#25882)
* Include userspace version in version.h * Update lib/python/qmk/cli/generate/version_h.py Co-authored-by: Joel Challis <git@zvecr.com> * Update lib/python/qmk/cli/generate/version_h.py Co-authored-by: Joel Challis <git@zvecr.com> * Update lib/python/qmk/cli/generate/version_h.py Co-authored-by: Joel Challis <git@zvecr.com> --------- Co-authored-by: Joel Challis <git@zvecr.com>
This commit is contained in:
parent
bc8218371e
commit
41c2a7b070
2 changed files with 11 additions and 5 deletions
|
|
@ -13,9 +13,6 @@ def git_get_version(repo_dir='.', check_dir='.'):
|
|||
"""
|
||||
git_describe_cmd = ['git', 'describe', '--abbrev=6', '--dirty', '--always', '--tags']
|
||||
|
||||
if repo_dir != '.':
|
||||
repo_dir = Path('lib') / repo_dir
|
||||
|
||||
if check_dir != '.':
|
||||
check_dir = repo_dir / check_dir
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue