Write build commit to version.txt

This commit is contained in:
TheSpad 2023-02-25 15:42:08 +00:00
parent 2d27dff44e
commit cfd67bc626
No known key found for this signature in database
GPG key ID: 08F06191F4587860
3 changed files with 3 additions and 0 deletions

View file

@ -51,6 +51,7 @@ RUN \
tar xf \ tar xf \
/tmp/headphones.tar.gz -C \ /tmp/headphones.tar.gz -C \
/app/headphones --strip-components=1 && \ /app/headphones --strip-components=1 && \
echo ${HEADPHONES_COMMIT} > /app/headphones/version.txt && \
echo "**** cleanup ****" && \ echo "**** cleanup ****" && \
apk del --purge \ apk del --purge \
build-dependencies && \ build-dependencies && \

View file

@ -51,6 +51,7 @@ RUN \
tar xf \ tar xf \
/tmp/headphones.tar.gz -C \ /tmp/headphones.tar.gz -C \
/app/headphones --strip-components=1 && \ /app/headphones --strip-components=1 && \
echo ${HEADPHONES_COMMIT} > /app/headphones/version.txt && \
echo "**** cleanup ****" && \ echo "**** cleanup ****" && \
apk del --purge \ apk del --purge \
build-dependencies && \ build-dependencies && \

View file

@ -51,6 +51,7 @@ RUN \
tar xf \ tar xf \
/tmp/headphones.tar.gz -C \ /tmp/headphones.tar.gz -C \
/app/headphones --strip-components=1 && \ /app/headphones --strip-components=1 && \
echo ${HEADPHONES_COMMIT} > /app/headphones/version.txt && \
echo "**** cleanup ****" && \ echo "**** cleanup ****" && \
apk del --purge \ apk del --purge \
build-dependencies && \ build-dependencies && \