about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Kiddle <okiddle@yahoo.co.uk>2018-09-03 16:25:03 +0200
committerOliver Kiddle <okiddle@yahoo.co.uk>2018-09-03 16:25:03 +0200
commitc25791589085eccf498ed39934b0658afb0f5f65 (patch)
tree00e870e5aeb4f2ba774b889f87c705bf066e3c7c
parent5f0cda32b52d1a756dd29621dc70d32f4620fed4 (diff)
downloadzsh-c25791589085eccf498ed39934b0658afb0f5f65.tar.gz
zsh-c25791589085eccf498ed39934b0658afb0f5f65.tar.xz
zsh-c25791589085eccf498ed39934b0658afb0f5f65.zip
unposted: Makefile.in: further to 43358 use same patchlevel form for the release file
-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)