Skip to content

Commit

Permalink
Have make build-debs print tag signature, if any
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
legoktm committed Sep 4, 2024
1 parent 422b227 commit 84a5519
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/build-debs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 84a5519

Please sign in to comment.