mirror of
https://github.com/qmk/qmk_firmware.git
synced 2026-07-14 04:46:21 -04:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user