From 243233f652743d4df526f0b00a78c9e5824896a8 Mon Sep 17 00:00:00 2001 From: Tamo Date: Wed, 28 Jul 2021 19:12:40 +0200 Subject: [PATCH] import .git to docker to fix vergen --- .dockerignore | 1 - meilisearch-http/src/main.rs | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.dockerignore b/.dockerignore index 364510117..8c6bdbdeb 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,5 +1,4 @@ target Dockerfile .dockerignore -.git .gitignore diff --git a/meilisearch-http/src/main.rs b/meilisearch-http/src/main.rs index 033c79408..33c99191e 100644 --- a/meilisearch-http/src/main.rs +++ b/meilisearch-http/src/main.rs @@ -108,8 +108,8 @@ pub fn print_launch_resume(opt: &Opt, data: &Data) { Some("") | None => env!("VERGEN_GIT_SHA"), Some(commit_sha) => commit_sha, }; - let commit_date = match dbg!(option_env!("COMMIT_DATE")) { - Some("") | None => dbg!(env!("VERGEN_GIT_COMMIT_TIMESTAMP")), + let commit_date = match option_env!("COMMIT_DATE") { + Some("") | None => env!("VERGEN_GIT_COMMIT_TIMESTAMP"), Some(commit_date) => commit_date, };