mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02: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
|
if RECENT_TAG="$(git describe --exact-match HEAD)"; then
|
||||||
VERSION="${RECENT_TAG#v}"
|
VERSION="${RECENT_TAG#v}"
|
||||||
else
|
else
|
||||||
VERSION="$(git rev-parse --short HEAD)"
|
VERSION="$(git rev-parse --short=12 HEAD)"
|
||||||
fi
|
fi
|
||||||
DISTNAME="bitcoin-${VERSION}"
|
DISTNAME="bitcoin-${VERSION}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue