From c6b15e7045209002bbbf4979c48072af01c20d8d Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Tue, 4 Feb 2025 13:20:52 +0200 Subject: [PATCH] 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. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index eee12647..fc54f477 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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' \