build: add explicit --no-show-signature for git
authorOto Šťáva <oto.stava@gmail.com>
Fri, 16 Feb 2024 15:28:10 +0000 (16:28 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Tue, 20 Feb 2024 19:58:41 +0000 (20:58 +0100)
commit60768064ce5d8801a82a00fe914e6068fbae86e8
tree64878631e6e1c6f23ef0c9eaf81ca10c52a97488
parent79a719508704054b27e9302619dad5bd466a6831
build: add explicit --no-show-signature for git

When `log.showSignature` is set, it causes the `SOURCE_DATE_EPOCH` to
include a textual signature description on OpenPGP-signed commits,
because Git prints the description into stdout. This then causes some
scripts to fail because they cannot parse the date from the variable.

Adding an explicit `--no-show-signature` prevents the signatures from
being displayed even when one has Git configured to show them by
default, fixing the scripts.

Signed-off-by: Oto Šťáva <oto.stava@gmail.com>
(cherry picked from commit 1e93208bd2c605704b19fe8b04025c20c17e808d)
scripts/get_source_date_epoch.sh