Fix #7960: use the same method as findversion.sh to determine tag

pull/132/head
glx 5 years ago committed by Charles Pigott
parent c8779fb311
commit bf4672864d

@ -1,6 +1,6 @@
#!/bin/sh
tag=$(git describe --tags 2>/dev/null)
tag=$(git name-rev --name-only --tags --no-undefined HEAD 2>/dev/null | sed 's@\^0$@@')
# If we are a tag, show the part of the changelog till (but excluding) the last stable
if [ -n "$tag" ]; then

Loading…
Cancel
Save