mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-05-25 09:03:59 +02:00
Merge #1537
1537: Import `.git` to the docker build image to fix vergen r=curquiza a=irevoire I observed a small difference in the size of the build image, but I think we can allow it:  I was not able to see any difference in build time, though. Co-authored-by: Tamo <tamo@meilisearch.com>
This commit is contained in:
commit
976075578f
@ -1,5 +1,4 @@
|
|||||||
target
|
target
|
||||||
Dockerfile
|
Dockerfile
|
||||||
.dockerignore
|
.dockerignore
|
||||||
.git
|
|
||||||
.gitignore
|
.gitignore
|
||||||
|
@ -108,8 +108,8 @@ pub fn print_launch_resume(opt: &Opt, data: &Data) {
|
|||||||
Some("") | None => env!("VERGEN_GIT_SHA"),
|
Some("") | None => env!("VERGEN_GIT_SHA"),
|
||||||
Some(commit_sha) => commit_sha,
|
Some(commit_sha) => commit_sha,
|
||||||
};
|
};
|
||||||
let commit_date = match dbg!(option_env!("COMMIT_DATE")) {
|
let commit_date = match option_env!("COMMIT_DATE") {
|
||||||
Some("") | None => dbg!(env!("VERGEN_GIT_COMMIT_TIMESTAMP")),
|
Some("") | None => env!("VERGEN_GIT_COMMIT_TIMESTAMP"),
|
||||||
Some(commit_date) => commit_date,
|
Some(commit_date) => commit_date,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user