Skip to content

Commit bfe1ba2

Browse files
committed
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.
1 parent 27e63e0 commit bfe1ba2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/gitian-descriptors/assign_DISTNAME

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
if RECENT_TAG="$(git describe --exact-match HEAD)"; then
88
VERSION="${RECENT_TAG#v}"
99
else
10-
VERSION="$(git rev-parse --short HEAD)"
10+
VERSION="$(git rev-parse --short=12 HEAD)"
1111
fi
1212
DISTNAME="bitcoin-${VERSION}"

0 commit comments

Comments
 (0)