mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-10 11:57:28 -03:00
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:
parent
27e63e01cc
commit
bfe1ba2f5b
1 changed files with 1 additions and 1 deletions
|
@ -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}"
|
||||
|
|
Loading…
Reference in a new issue