about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Makefile.in2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f6e00c6c3..66a25d0c3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-09-03  Oliver Kiddle  <okiddle@yahoo.co.uk>
+
+	* unposted: Makefile.in: further to 43358 use same patchlevel
+	form for the release file
+
 2018-09-03  Daniel Shahaf  <d.s@daniel.shahaf.name>
 
 	* 43333: Etc/Makefile.in: Generate FAQ.html in the builddir,
diff --git a/Makefile.in b/Makefile.in
index ae18855ff..2b71dad25 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -163,7 +163,7 @@ targz-src: $(DISTNAME).tar.gz
 $(DISTNAME).tar.gz: FORCE
 	@$(sdir_top)/Util/mkdisttree.sh $(DISTNAME) $(sdir_top) $(dir_top) SRC \
 	    $(MAKE) $(MAKEDEFS)
-	echo '#define ZSH_PATCHLEVEL "'`cd $(sdir_top) && git describe --tags --long`'"' >$(DISTNAME)/Src/patchlevel.h.release
+	echo '#define ZSH_PATCHLEVEL "'`cd $(sdir_top) && git describe --tags --long --abbrev=7`'"' >$(DISTNAME)/Src/patchlevel.h.release
 	tar cf - $(DISTNAME) | gzip -9 > $@
 	rm -rf $(DISTNAME)