mirror of
https://git.tukaani.org/xz.git
synced 2025-02-21 07:58:27 +00:00
Build: Use "git describe --abbrev=8" in snapshot tarball names
8 is more likely to be reproducible than the old 4 without being excessively long for a small repository like this.
This commit is contained in:
parent
0ce97987c5
commit
c6b15e7045
@ -101,7 +101,7 @@ mydist:
|
||||
VERSION=$(VERSION); \
|
||||
if test -d "$(srcdir)/.git" && type git > /dev/null 2>&1; then \
|
||||
$(SHELL) "$(srcdir)/build-aux/license-check.sh" || exit 1; \
|
||||
SNAPSHOT=`cd "$(srcdir)" && git describe --abbrev=4 | cut -b2-`; \
|
||||
SNAPSHOT=`cd "$(srcdir)" && git describe --abbrev=8 | cut -b2-`; \
|
||||
test -n "$$SNAPSHOT" && VERSION=$$SNAPSHOT; \
|
||||
fi; \
|
||||
TAR_OPTIONS='--owner=0 --group=0 --numeric-owner --mode=u+rw,go+r-w --sort=name' \
|
||||
|
Loading…
x
Reference in New Issue
Block a user