Merge pull request #724 from vmware-tanzu/fix_git_sha_in_version_info

Copy .git dir during Docker build; used to bake git sha into binary
This commit is contained in:
Mo Khan 2021-07-16 14:34:33 -04:00 committed by GitHub
commit 4605846499
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -1,4 +1,6 @@
./.* ./.*
# Allow .git to get copied into the container so we can use it in hack/get-ldflags.sh during build.
!/.git
./*.md ./*.md
./*.yaml ./*.yaml
./apis ./apis