meson: Bring back use of vcs_tag
authorJan Janssen <medhefgo@web.de>
Fri, 25 Aug 2023 11:07:55 +0000 (13:07 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 26 Aug 2023 04:53:42 +0000 (13:53 +0900)
commitc78b611e48fbfb6963a300c7f0b35b0dded5f4cf
tree7dc9031c91950a1d2166dc5c92f40ec044ea896d
parent82007efa44ad51b69514455f3229fac1a4b58256
meson: Bring back use of vcs_tag

The use of vcs_tag was dropped in #28567, which results in builds having
stale version information once new commit are made.

This also fixes a case where CI builds would have no version information
because they are checked out without any tags for git-describe to use.

Additionally, use `--git-dir` now, as that particular issues seems to
have been fixed by now.
meson.build
src/boot/efi/meson.build
src/fundamental/sbat.h