From 6f09ae5c179587e1990960865147c0173d3fcf21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20K=C3=BCffner?= Date: Mon, 6 Jan 2025 14:42:17 +0100 Subject: [PATCH] klipper: use git to generate version file --- docker/klipper/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/klipper/Dockerfile b/docker/klipper/Dockerfile index 54eefad..a4ad846 100644 --- a/docker/klipper/Dockerfile +++ b/docker/klipper/Dockerfile @@ -18,7 +18,7 @@ ARG VERSION=master RUN git clone ${REPO} klipper \ && cd klipper \ && git checkout ${VERSION} \ - && python3 scripts/make_version.py prind > klippy/.version \ + && echo -n $(git describe --tags)-prind > klippy/.version \ && rm -rf .git RUN venv/bin/pip install -r klipper/scripts/klippy-requirements.txt \