mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-03-03 04:14:15 +08: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
|
||||
Dockerfile
|
||||
.dockerignore
|
||||
.git
|
||||
.gitignore
|
||||
|
@ -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…
x
Reference in New Issue
Block a user