mirror of
https://github.com/mkuf/prind.git
synced 2025-11-02 11:26:29 +01:00
klipper: use git to generate version file
This commit is contained in:
@@ -18,7 +18,7 @@ ARG VERSION=master
|
|||||||
RUN git clone ${REPO} klipper \
|
RUN git clone ${REPO} klipper \
|
||||||
&& cd klipper \
|
&& cd klipper \
|
||||||
&& git checkout ${VERSION} \
|
&& git checkout ${VERSION} \
|
||||||
&& python3 scripts/make_version.py prind > klippy/.version \
|
&& echo -n $(git describe --tags)-prind > klippy/.version \
|
||||||
&& rm -rf .git
|
&& rm -rf .git
|
||||||
|
|
||||||
RUN venv/bin/pip install -r klipper/scripts/klippy-requirements.txt \
|
RUN venv/bin/pip install -r klipper/scripts/klippy-requirements.txt \
|
||||||
|
|||||||
Reference in New Issue
Block a user