Browse Source

import .git to docker to fix vergen

pull/1537/head
Tamo 2 months ago
parent
commit
243233f652
No known key found for this signature in database GPG Key ID: 20CD8020AFA88D69
  1. 1
      .dockerignore
  2. 4
      meilisearch-http/src/main.rs

1
.dockerignore

@ -1,5 +1,4 @@
target
Dockerfile
.dockerignore
.git
.gitignore

4
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,
};

Loading…
Cancel
Save