From 1a24e7c5b683355335b115e5659eb6fe8c8d11dc Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Wed, 26 Apr 2023 18:24:39 -0400 Subject: 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 --- scripts/make_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/make_version.py') diff --git a/scripts/make_version.py b/scripts/make_version.py index 47422500..ea8b0546 100644 --- a/scripts/make_version.py +++ b/scripts/make_version.py @@ -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='-') -- cgit v1.2.3-70-g09d2