From 84a5519cef822f9ebe7c500b3f4301f6bbae20a4 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Wed, 4 Sep 2024 17:53:14 -0400 Subject: [PATCH] Have `make build-debs` print tag signature, if any If HEAD points to a tag, then run it through `git tag -v` to print the tag's signature instead of just the commit's. --- scripts/build-debs.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/build-debs.sh b/scripts/build-debs.sh index 56b654587..59bbd9176 100755 --- a/scripts/build-debs.sh +++ b/scripts/build-debs.sh @@ -11,6 +11,9 @@ set -euxo pipefail git --no-pager log -1 --oneline --show-signature --no-color +# We intentionally want the git tag list to be word-split +# shellcheck disable=SC2046 +git --no-pager tag -v $(git tag --points-at HEAD) OCI_RUN_ARGUMENTS="--user=root -v $(pwd):/src:Z"