klipper: use git to generate version file

This commit is contained in:
Markus Küffner
2025-01-06 14:42:17 +01:00
parent 860ca2574a
commit 6f09ae5c17

View File

@@ -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 \