Skip to content

Commit ab05bab

Browse files
committed
Adding back git stash and git stash pop
1 parent 9d7dd7d commit ab05bab

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ WORKDIR /gitsign
44
RUN git config --global --add safe.directory /gitsign
55
COPY . .
66
USER root
7-
RUN export GIT_VERSION=$(git describe --tags --always --dirty) && \
7+
RUN git stash && \
8+
export GIT_VERSION=$(git describe --tags --always --dirty) && \
9+
git stash pop && \
810
go mod vendor && \
911
make -f Build.mak gitsign-cli-darwin-amd64 && \
1012
make -f Build.mak gitsign-cli-linux-amd64 && \

0 commit comments

Comments
 (0)