Verified Commit 4ea027b1 authored by Vasili Novikov's avatar Vasili Novikov
Browse files

WIP: Pass .git directory during build time

parent 7c69c929
Showing with 3 additions and 0 deletions
+3 -0
......@@ -8,3 +8,5 @@
!Cargo.lock
!build.rs
#### To inline `git describe` at build-time
!.git
......@@ -22,6 +22,7 @@ RUN set -x && \
COPY res res
COPY build.rs build.rs
COPY src src
COPY .git .git
RUN cargo build --release && mv target/release/pod ./ && rm -rf target
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment