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:
Joshua Diamond
2025-12-18 22:23:51 -05:00
committed by GitHub
parent bc8218371e
commit 41c2a7b070
2 changed files with 11 additions and 5 deletions
-3
View File
@@ -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