diff options
| author | Carl Dong <[email protected]> | 2020-05-04 13:00:08 -0400 |
|---|---|---|
| committer | Carl Dong <[email protected]> | 2020-05-04 13:00:08 -0400 |
| commit | bfe1ba2f5b36056e0c41edf8206b93d3d83098df (patch) | |
| tree | 4bf5b7f93480c6bc6b1b3ec4ec20fc853592faec /contrib | |
| parent | build: Accomodate makensis v2.x (diff) | |
| download | discoin-bfe1ba2f5b36056e0c41edf8206b93d3d83098df.tar.xz discoin-bfe1ba2f5b36056e0c41edf8206b93d3d83098df.zip | |
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.
Diffstat (limited to 'contrib')
| -rwxr-xr-x | contrib/gitian-descriptors/assign_DISTNAME | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gitian-descriptors/assign_DISTNAME b/contrib/gitian-descriptors/assign_DISTNAME index a1ab3f7cb..a2ca768aa 100755 --- a/contrib/gitian-descriptors/assign_DISTNAME +++ b/contrib/gitian-descriptors/assign_DISTNAME @@ -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}" |