]> Untitled Git - lemmy.git/blobdiff - docker/prod/Dockerfile.arm
For untagged commits, include hash in version name (fixes #1563)
[lemmy.git] / docker / prod / Dockerfile.arm
index b3eacb4f9f41ea6d29eb5849dc019747ede67dfe..01f24456e239d3a54a306c31f7508d734b2c6d0f 100644 (file)
@@ -11,6 +11,7 @@ RUN apt-get update \
 WORKDIR /app
 
 COPY ./ ./
+RUN echo "pub const VERSION: &str = \"$(git describe --tag)\";" > "crates/utils/src/version.rs"
 
 RUN cargo build --release