rel-builds: Specify core.abbrev for git-rev-parse

Chose 12 because the kernel uses it:

  https://public-inbox.org/git/CA+55aFy0_pwtFOYS1Tmnxipw9ZkRNCQHmoYyegO00pjMiZQfbg@mail.gmail.com/raw

And also because it's a nice number.
This commit is contained in:
Carl Dong committed 2020-05-04 13:00:08 -04:00
1 parent 27e63e01cc
commit bfe1ba2f5b
1 file changed
+1 -1
+1 -1
View File
@@ -7,6 +7,6 @@
if RECENT_TAG="$(git describe --exact-match HEAD)"; then
VERSION="${RECENT_TAG#v}"
else
VERSION="$(git rev-parse --short HEAD)"
VERSION="$(git rev-parse --short=12 HEAD)"
fi
DISTNAME="bitcoin-${VERSION}"