coreboot/util/release
Matt DeVillier 71b79018da util/release/genrelnotes: Restore to saved HEAD instead of origin/main
The script was failing when origin/main doesn't exist. Instead of
trying to detect or use a main branch, simply save the current HEAD
hash and restore it when done. This works regardless of branch names
or remote configuration.

Also improve the clean check to use git diff-files instead of
comparing to a specific branch.

Change-Id: I237de4b1e8a06fd4e1e3ef08286208c130e7a6bd
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/90502
Reviewed-by: Martin L Roth <gaumless@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2025-12-15 00:45:29 +00:00
..
abandon_untouched_patches util/release: Upload script to abandon patches older than 1 year 2023-08-23 12:09:08 +00:00
build-release SBOM: Change makefile to get versions from build.h 2025-07-04 13:17:38 +00:00
description.md
genrelnotes util/release/genrelnotes: Restore to saved HEAD instead of origin/main 2025-12-15 00:45:29 +00:00
gerrit_stats.pl Switch release scripts over to use main branch 2023-09-11 15:45:41 +00:00