mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-07 15:07:33 -06:00
klippy: Report repo version as "dirty" if there are untracked python files
Check for untracked files in the klippy/extras/ and klippy/kinematics/ directories and report those files in the log. This helps identify code modifications when inspecting a log. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
3b0729c949
commit
1a24e7c5b6
3 changed files with 37 additions and 9 deletions
|
@ -23,7 +23,7 @@ def main(argv):
|
|||
help='Name of distro this package is intended for'
|
||||
)
|
||||
args = p.parse_args()
|
||||
print(util.get_git_version(from_file=False),
|
||||
print(util.get_git_version(from_file=False)[0],
|
||||
args.distroname.replace(' ', ''), sep='-')
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue