🐛 Displayed versions are always computed as dirty
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
# .git directory is not filtered here: we need to copy the .git directory in the builder image to compute the version.
|
# .git directory is not filtered here: we need to copy the .git directory in the builder image to compute the version.
|
||||||
|
# media directory, README.md and Dockerfile files are not filtered to avoid the dockerized building env to get dirty
|
||||||
|
# and append the "-modified" suffix to the displayed version.
|
||||||
dist
|
dist
|
||||||
medias
|
|
||||||
README.md
|
|
||||||
target
|
target
|
||||||
Dockerfile
|
|
||||||
|
@@ -10,6 +10,9 @@ ARG CARGO_INCREMENTAL=0
|
|||||||
|
|
||||||
WORKDIR /usr/src/beau-gosse-du-92
|
WORKDIR /usr/src/beau-gosse-du-92
|
||||||
|
|
||||||
|
RUN apt update \
|
||||||
|
&& apt install -y git-lfs
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN /usr/local/bin/dx build -r --platform web -- -j ${JOBS_NB}
|
RUN /usr/local/bin/dx build -r --platform web -- -j ${JOBS_NB}
|
||||||
|
Reference in New Issue
Block a user