]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
Build: Use "git describe --abbrev=8" in snapshot tarball names
authorLasse Collin <lasse.collin@tukaani.org>
Tue, 4 Feb 2025 11:20:52 +0000 (13:20 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Tue, 4 Feb 2025 17:37:31 +0000 (19:37 +0200)
8 is more likely to be reproducible than the old 4 without being
excessively long for a small repository like this.

Makefile.am

index eee12647bfcce99c393e0c4c9cd00f9611b47826..fc54f477e1f83c40c2dd5c4d1b59fbc94d8c840f 100644 (file)
@@ -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' \