fix git-info-2.sh: do not display pgp signature in log (if enabled by default)

This commit is contained in:
Maximilian Keßler 2022-10-16 12:37:30 +02:00
parent 708dfa3c09
commit 17d6e36711
Signed by: max
GPG key ID: BCC5A619923C0BA5

View file

@ -11,7 +11,7 @@ FIRSTTAG=$(git describe --tags --always --dirty='-*' 2>/dev/null)
# Get the first tag in history that looks like a Release # Get the first tag in history that looks like a Release
RELTAG=$(git describe --tags --long --always --dirty='-*' --match '[0-9]*.*' 2>/dev/null) RELTAG=$(git describe --tags --long --always --dirty='-*' --match '[0-9]*.*' 2>/dev/null)
# Hoover up the metadata # Hoover up the metadata
git --no-pager log -1 --date=short --decorate=short \ git -c log.showSignature=false --no-pager log -1 --date=short --decorate=short \
--pretty=format:"\usepackage[% --pretty=format:"\usepackage[%
shash={%h}, shash={%h},
lhash={%H}, lhash={%H},