util/release/build-release: Use `git log … -1` over `|head -1`
commit1ff6125af74899dad390efa45aefa665f6cc76e9
authorPaul Menzel <pmenzel@molgen.mpg.de>
Fri, 3 Jun 2022 06:31:18 +0000 (3 08:31 +0200)
committerFelix Held <felix-coreboot@felixheld.de>
Wed, 6 Jul 2022 19:21:35 +0000 (6 19:21 +0000)
treed40273b00d5d4625425156aa53f4f7218e660b1e
parent22369a1fc2042868a4db009290056a266fc1b369
util/release/build-release: Use `git log … -1` over `|head -1`

Avoid piping to `head` to print the top line, and do it in `git log`
directly.

Change-Id: Id9b99b06c5bdd9c381bd039fc1914a9a2f332aa6
Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/64941
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
util/release/build-release