File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ FROM python:${PYTHON_VERSION}
66WORKDIR /src
77COPY . .
88
9- ARG VERSION
9+ ARG VERSION=0.0.0.dev0
1010RUN --mount=type=cache,target=/cache/pip \
1111 PIP_CACHE_DIR=/cache/pip \
1212 SETUPTOOLS_SCM_PRETEND_VERSION=${VERSION} \
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ RUN addgroup --gid $gid sphinx \
1313WORKDIR /src
1414COPY . .
1515
16- ARG VERSION
16+ ARG VERSION=0.0.0.dev0
1717RUN --mount=type=cache,target=/cache/pip \
1818 PIP_CACHE_DIR=/cache/pip \
1919 SETUPTOOLS_SCM_PRETEND_VERSION=${VERSION} \
Original file line number Diff line number Diff line change 1313
1414SETUPTOOLS_SCM_PRETEND_VERSION_DOCKER ?= $(shell git describe --match '[0-9]* ' --dirty='.m' --always --tags 2>/dev/null | sed -r 's/-([0-9]+) /.dev\1/' | sed 's/-/+/')
1515ifeq ($(SETUPTOOLS_SCM_PRETEND_VERSION_DOCKER ) ,)
16- SETUPTOOLS_SCM_PRETEND_VERSION_DOCKER = "dev "
16+ SETUPTOOLS_SCM_PRETEND_VERSION_DOCKER = "0.0.0.dev0 "
1717endif
1818
1919.PHONY : all
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ RUN curl -sSL -o /opt/docker-credential-pass.tar.gz \
2828WORKDIR /src
2929COPY . .
3030
31- ARG VERSION
31+ ARG VERSION=0.0.0.dev0
3232RUN --mount=type=cache,target=/cache/pip \
3333 PIP_CACHE_DIR=/cache/pip \
3434 SETUPTOOLS_SCM_PRETEND_VERSION=${VERSION} \
You can’t perform that action at this time.
0 commit comments